GLSL: No more restrictions on (non)shadow sampler construction.
Match https://github.com/KhronosGroup/GLSL/pull/22
This commit is contained in:
parent
62faea79d7
commit
e161cc11f7
3 changed files with 2 additions and 10 deletions
|
|
@ -21,7 +21,7 @@ void badConst()
|
|||
sampler3D[4](t3d5, sA[2]); // ERROR, can't make array
|
||||
sampler2D(i2d, s); // ERROR, image instead of texture
|
||||
sampler2D(t3d[1], s); // ERROR, 3D not 2D
|
||||
sampler2D(t2d, sShadow); // ERROR, shadow mismatch
|
||||
sampler2D(t2d, sShadow);
|
||||
sampler2DShadow(t2d, s);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue