Config.h 461 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. namespace SoftGPU {
  8. static constexpr int RASTERIZER_BLOCK_SIZE = 8;
  9. static constexpr int NUM_SAMPLERS = 32;
  10. // See: https://www.khronos.org/opengl/wiki/Common_Mistakes#Texture_edge_color_problem
  11. // FIXME: make this dynamically configurable through ConfigServer
  12. static constexpr bool CLAMP_DEPRECATED_BEHAVIOR = false;
  13. }