mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i915: remove not needed lie about PIPE_CAP_OCCLUSION_QUERY
Occlusion queries are supported always but only the number of supported samples differ. This also removes I915_LIE debug option. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14361>
This commit is contained in:
parent
b497e454b3
commit
2a90f2702c
3 changed files with 0 additions and 7 deletions
|
|
@ -50,7 +50,6 @@ unsigned i915_debug = 0;
|
|||
|
||||
DEBUG_GET_ONCE_FLAGS_OPTION(i915_debug, "I915_DEBUG", i915_debug_options, 0)
|
||||
DEBUG_GET_ONCE_BOOL_OPTION(i915_no_tiling, "I915_NO_TILING", false)
|
||||
DEBUG_GET_ONCE_BOOL_OPTION(i915_lie, "I915_LIE", true)
|
||||
DEBUG_GET_ONCE_BOOL_OPTION(i915_use_blitter, "I915_USE_BLITTER", true)
|
||||
|
||||
void
|
||||
|
|
@ -58,7 +57,6 @@ i915_debug_init(struct i915_screen *is)
|
|||
{
|
||||
i915_debug = debug_get_option_i915_debug();
|
||||
is->debug.tiling = !debug_get_option_i915_no_tiling();
|
||||
is->debug.lie = debug_get_option_i915_lie();
|
||||
is->debug.use_blitter = debug_get_option_i915_use_blitter();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -440,10 +440,6 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
|
|||
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
|
||||
return 16;
|
||||
|
||||
/* Features we can lie about (boolean caps). */
|
||||
case PIPE_CAP_OCCLUSION_QUERY:
|
||||
return is->debug.lie ? 1 : 0;
|
||||
|
||||
/* Texturing. */
|
||||
case PIPE_CAP_MAX_TEXTURE_2D_SIZE:
|
||||
return 1 << (I915_MAX_TEXTURE_2D_LEVELS - 1);
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ struct i915_screen {
|
|||
|
||||
struct {
|
||||
bool tiling;
|
||||
bool lie;
|
||||
bool use_blitter;
|
||||
} debug;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue