mesa/src/compiler
Qiang Yu b1d0ecd00d glsl: respect GL_EXT_shader_image_load_formatted when image is embedded in a struct
Fix compilation failure when image is embedded in struct when
GL_EXT_shader_image_load_formatted is enabled:

  struct GpuPointShadow {
      image2D RayTracedShadowMapImage;
  };

  layout(std140, binding = 2) uniform ShadowsUBO {
      GpuPointShadow PointShadows[1];
  } shadowsUBO;

Compile log:
  error: image not qualified with `writeonly' must have a format layout qualifier

Fixes: 082d180a22 ("mesa, glsl: add support for EXT_shader_image_load_formatted")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29693>
2024-06-14 02:21:59 +00:00
..
clc util: Rename DETECT_OS_UNIX to DETECT_OS_POSIX 2024-06-07 01:56:28 +00:00
glsl glsl: respect GL_EXT_shader_image_load_formatted when image is embedded in a struct 2024-06-14 02:21:59 +00:00
isaspec isaspec: Improve 'meta' handling 2024-04-26 03:35:13 +00:00
nir nir: Add nir_foreach_block_in_cf_node_safe() iterators 2024-06-13 20:43:46 +00:00
spirv vulkan: Update XML and headers to 1.3.287 2024-06-07 19:06:46 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c glsl_types: derive ht 2024-03-12 19:41:50 +00:00
glsl_types.h compiler/types: Fix glsl_dvec*_type() helpers 2024-03-04 15:22:32 +00:00
meson.build meson: do not pull in clc for clover 2024-02-21 20:53:36 +00:00
shader_enums.c nir: add SYSTEM_VALUE_BASE_WORKGROUP_ID 2024-04-24 20:18:48 +00:00
shader_enums.h compiler: add ACCESS_IN_BOUNDS_AGX 2024-05-14 04:57:25 +00:00
shader_info.h mesa: replace shader_info::source_sha1 2024-05-09 20:08:18 +00:00