vc4: fix build
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 15 Apr 2019 22:11:49 +0000 (23:11 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 15 Apr 2019 22:27:21 +0000 (23:27 +0100)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fixes: 5131b7a43f8488a7 ('gallium: add support for formatted image loads')
src/gallium/drivers/vc4/vc4_screen.c

index ca9471fe5cb63a68f1c55722644a62cdfd943fad..5fc8c35f8a952dcefcd418476601e9a9f6a64659 100644 (file)
@@ -296,7 +296,6 @@ vc4_screen_get_shader_param(struct pipe_screen *pscreen,
         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:
-        case PIPE_SHADER_CAP_IMAGE_LOAD_FORMATTED:
                 return 0;
         case PIPE_SHADER_CAP_SCALAR_ISA:
                 return 1;