broadcom/vc5: Fix driver for new PIPE_SHADER_CAP_MAX_HW_ATOMIC_*.
authorEric Anholt <eric@anholt.net>
Wed, 15 Nov 2017 00:01:32 +0000 (16:01 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 18 Nov 2017 00:09:54 +0000 (16:09 -0800)
src/gallium/drivers/vc5/vc5_screen.c

index 6e3a342ce3f6517c6f4a2545a3228b6b16ca7cdb..36e34dedd59f9edd96c3da0fed440c23bd1d6616 100644 (file)
@@ -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: