i915g: add HW atomic counters as unsupported

Closes: #4772
Fixes: 2a06423c00 ("gallium: add CAPs to support HW atomic counters. (v3)")
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10776>
(cherry picked from commit f88dd7ed4d)
This commit is contained in:
Abel García Dorta 2021-05-12 18:34:19 +01:00 committed by Eric Engestrom
parent b4d951c175
commit 21cea3e242
2 changed files with 3 additions and 1 deletions

View file

@ -364,7 +364,7 @@
"description": "i915g: add HW atomic counters as unsupported",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "2a06423c0094749126afced82c400380221fadac"
},

View file

@ -181,6 +181,8 @@ i915_get_shader_param(struct pipe_screen *screen,
case PIPE_SHADER_CAP_LOWER_IF_THRESHOLD:
case PIPE_SHADER_CAP_PREFERRED_IR:
case PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS:
case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS:
case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER_BUFFERS:
return 0;
case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT:
return 32;