mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-18 21:36:27 +00:00
rendercopy/gen9: fix gem_render_copy 3d state setup
Without emitting the default 3DSTATE_WM_DEPTH_STENCIL state the test will fail. Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
parent
51d87b8049
commit
87edb51940
@ -821,7 +821,13 @@ gen8_emit_ps(struct intel_batchbuffer *batch, uint32_t kernel) {
|
||||
}
|
||||
|
||||
static void
|
||||
gen8_emit_depth(struct intel_batchbuffer *batch) {
|
||||
gen9_emit_depth(struct intel_batchbuffer *batch)
|
||||
{
|
||||
OUT_BATCH(GEN8_3DSTATE_WM_DEPTH_STENCIL | (4 - 2));
|
||||
OUT_BATCH(0);
|
||||
OUT_BATCH(0);
|
||||
OUT_BATCH(0);
|
||||
|
||||
OUT_BATCH(GEN7_3DSTATE_DEPTH_BUFFER | (8-2));
|
||||
OUT_BATCH(0);
|
||||
OUT_BATCH(0);
|
||||
@ -999,7 +1005,7 @@ void gen9_render_copyfunc(struct intel_batchbuffer *batch,
|
||||
OUT_BATCH(GEN6_3DSTATE_SCISSOR_STATE_POINTERS);
|
||||
OUT_BATCH(scissor_state);
|
||||
|
||||
gen8_emit_depth(batch);
|
||||
gen9_emit_depth(batch);
|
||||
|
||||
gen7_emit_clear(batch);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user