KhronosGroup / GLSL

GLSL Shading Language Specification and Extensions
Other
347 stars 101 forks source link

Clarification for GLSL_EXT_buffer_reference forward declaration #265

Open spencer-lunarg opened 1 month ago

spencer-lunarg commented 1 month ago

Noticed in https://github.com/KhronosGroup/glslang/issues/3774 that going

layout(buffer_reference, std140, buffer_reference_align = 8) buffer MyStruct;
layout(buffer_reference) buffer MyStruct {  vec4 x;  };

the std140 and buffer_reference_align are ignored but it is not obvious and added clarification