Commit 76f95081 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

d3d12: do not expose any shader-buffers

When we expose this without exposing SSBOs, gallium gets confused and
tries to use SSBOs for atomic operations, even if we explicitly suppory
zero buffers.
parent 7568a80a
Pipeline #222434 waiting for manual action with stages
in 6 minutes and 6 seconds
...@@ -452,8 +452,10 @@ d3d12_get_shader_param(struct pipe_screen *pscreen, ...@@ -452,8 +452,10 @@ d3d12_get_shader_param(struct pipe_screen *pscreen,
case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT: case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT:
return 32; /* arbitrary */ return 32; /* arbitrary */
#if 0
case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS: case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS:
return 8; /* no clue */ return 8; /* no clue */
#endif
case PIPE_SHADER_CAP_SUPPORTED_IRS: case PIPE_SHADER_CAP_SUPPORTED_IRS:
return 1 << PIPE_SHADER_IR_NIR; return 1 << PIPE_SHADER_IR_NIR;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment