i915g: Disable 3D-pipeline clears.

The 3D-pipeline fast clears try to emit FS constants before an FS is
necessarily bound, causing segfaults in dEQP.  Plus it flushes the whole
batchbuffer so it'll probably be slower anyway.

Fixes: 6358e6371b ("i915g: implement hw clear")
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10874>
(cherry picked from commit 8509aceb74)
This commit is contained in:
Emma Anholt 2021-05-17 11:33:26 -07:00 committed by Eric Engestrom
parent 3c81c319e1
commit e762fe00cd
2 changed files with 2 additions and 2 deletions

View file

@ -1165,7 +1165,7 @@
"description": "i915g: Disable 3D-pipeline clears.",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "6358e6371b31671acbfa7c00336673f62ee928c5"
},

View file

@ -50,7 +50,7 @@ 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", FALSE)
DEBUG_GET_ONCE_BOOL_OPTION(i915_use_blitter, "I915_USE_BLITTER", TRUE)
void i915_debug_init(struct i915_screen *is)
{