st/mesa: add support for EXT_shader_image_load_formatted
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 16 Jan 2019 23:18:27 +0000 (23:18 +0000)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 15 Apr 2019 20:18:07 +0000 (16:18 -0400)
v3: rebase

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v2)
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_extensions.c

index 7c0d1a72dc7cc03c381d792e06a2b2655fbf0401..828adab47c8d7b504e911499a74318e8b4679c6f 100644 (file)
@@ -730,6 +730,7 @@ void st_init_extensions(struct pipe_screen *screen,
       { o(ARB_shader_clock),                 PIPE_CAP_TGSI_CLOCK                       },
       { o(ARB_shader_draw_parameters),       PIPE_CAP_DRAW_PARAMETERS                  },
       { o(ARB_shader_group_vote),            PIPE_CAP_TGSI_VOTE                        },
+      { o(EXT_shader_image_load_formatted),  PIPE_CAP_IMAGE_LOAD_FORMATTED             },
       { o(ARB_shader_stencil_export),        PIPE_CAP_SHADER_STENCIL_EXPORT            },
       { o(ARB_shader_texture_image_samples), PIPE_CAP_TGSI_TXQS                        },
       { o(ARB_shader_texture_lod),           PIPE_CAP_SM3                              },