diff options
author | Eric Anholt <[email protected]> | 2017-11-14 16:01:32 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-11-17 16:09:54 -0800 |
commit | c259bf686c1677f55899e31866eeb6db1ab622ed (patch) | |
tree | 38b740785005a11e0454a771a4478858ac57a605 /src/gallium/drivers/vc5/vc5_screen.c | |
parent | 2b5b6bebac8e64de7fe2aec70255d5ea75fe98f4 (diff) |
broadcom/vc5: Fix driver for new PIPE_SHADER_CAP_MAX_HW_ATOMIC_*.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_screen.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_screen.c b/src/gallium/drivers/vc5/vc5_screen.c index 6e3a342ce3f..36e34dedd59 100644 --- a/src/gallium/drivers/vc5/vc5_screen.c +++ b/src/gallium/drivers/vc5/vc5_screen.c @@ -387,6 +387,8 @@ vc5_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, case PIPE_SHADER_CAP_TGSI_FMA_SUPPORTED: case PIPE_SHADER_CAP_TGSI_ANY_INOUT_DECL_RANGE: case PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED: + case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS: + case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER_BUFFERS: return 0; case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: case PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS: |