mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
glsl: reject image qualifiers with non-image types inside uniform blocks
Fixes the following ARB_shader_image_load_store tests: format-layout-with-non-image-type.frag memory-qualifier-with-non-image-type.frag Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
edb4a1ab2d
commit
24011ead71
1 changed files with 2 additions and 0 deletions
|
|
@ -6875,6 +6875,8 @@ ast_process_struct_or_iface_block_members(exec_list *instructions,
|
|||
"to struct or interface block members");
|
||||
}
|
||||
|
||||
validate_image_qualifier_for_type(state, &loc, qual, decl_type);
|
||||
|
||||
/* From Section 4.4.2.3 (Geometry Outputs) of the GLSL 4.50 spec:
|
||||
*
|
||||
* "A block member may be declared with a stream identifier, but
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue