Track separate precision defaults for each kind of sampler, give initial defaults as per spec. Also make fragment floats have no default. Modify/add tests to adapt to these changes.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22066 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
c59d0cd9e6
commit
41a36bbb2f
13 changed files with 91 additions and 34 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#version 300 es
|
||||
in uvec2 badu; // ERROR
|
||||
flat in uvec2 t;
|
||||
in float f;
|
||||
in vec2 tc;
|
||||
in highp float f;
|
||||
in highp vec2 tc;
|
||||
in bool bad; // ERROR
|
||||
uniform uvec4 v;
|
||||
uniform int i;
|
||||
|
|
@ -10,7 +10,7 @@ uniform bool b;
|
|||
|
||||
out uvec4 c;
|
||||
|
||||
uniform usampler2D usampler;
|
||||
uniform lowp usampler2D usampler;
|
||||
|
||||
void main()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue