From b2aa21362d88523f33e3020e4d885536ae0126a7 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Thu, 27 Jan 2022 10:00:35 -0800 Subject: [PATCH] d3d12: Include SO buffer count as a PSO dirty bit ctx->gfx_pipeline_state::num_so_targets is used when compiling PSOs, so make sure that changes to that value result in PSO recompiles. Reviewed-by: Sil Vilerino Part-of: --- src/gallium/drivers/d3d12/d3d12_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/d3d12/d3d12_context.h b/src/gallium/drivers/d3d12/d3d12_context.h index 4913e05c471..91fcf58b2db 100644 --- a/src/gallium/drivers/d3d12/d3d12_context.h +++ b/src/gallium/drivers/d3d12/d3d12_context.h @@ -78,7 +78,7 @@ enum d3d12_shader_dirty_flags D3D12_DIRTY_FRAMEBUFFER | D3D12_DIRTY_SAMPLE_MASK | \ D3D12_DIRTY_VERTEX_ELEMENTS | D3D12_DIRTY_PRIM_MODE | \ D3D12_DIRTY_SHADER | D3D12_DIRTY_ROOT_SIGNATURE | \ - D3D12_DIRTY_STRIP_CUT_VALUE) + D3D12_DIRTY_STRIP_CUT_VALUE | D3D12_DIRTY_STREAM_OUTPUT) #define D3D12_DIRTY_COMPUTE_PSO (D3D12_DIRTY_COMPUTE_SHADER | D3D12_DIRTY_COMPUTE_ROOT_SIGNATURE) #define D3D12_DIRTY_COMPUTE_MASK (D3D12_DIRTY_COMPUTE_SHADER | D3D12_DIRTY_COMPUTE_ROOT_SIGNATURE)