mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-09 17:51:03 +00:00
19 lines
461 B
C
19 lines
461 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
namespace SoftGPU {
|
||
|
|
|
||
|
|
static constexpr int RASTERIZER_BLOCK_SIZE = 8;
|
||
|
|
static constexpr int NUM_SAMPLERS = 32;
|
||
|
|
|
||
|
|
// See: https://www.khronos.org/opengl/wiki/Common_Mistakes#Texture_edge_color_problem
|
||
|
|
// FIXME: make this dynamically configurable through ConfigServer
|
||
|
|
static constexpr bool CLAMP_DEPRECATED_BEHAVIOR = false;
|
||
|
|
|
||
|
|
}
|