Skip to content
Snippets Groups Projects
Commit e207b2e2 authored by Samuel Iglesias Gonsálvez's avatar Samuel Iglesias Gonsálvez
Browse files

glsl/linker: fix bug when checking precision qualifier


According to GLSL ES 3.2 spec, see table in 9.2.1 "Linked Shaders"
section, the precision qualifier should match for uniform variables.
This also applies to previous GLSL ES 3.x specs.

This 'if' checks the condition for uniform variables, while for UBOs
it is checked in link_interface_blocks.cpp.

Fixes: b50b82b8
("glsl/es31: precision qualifier doesn't need to match in shader interface block members")

Signed-off-by: default avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
parent c757c9dc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment