TextureOffset not support sampler2DArrayShadow sampler until 430.
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
textureoffset_sampler2darrayshadow.vert
|
||||
ERROR: 0:9: 'sampler' : TextureOffset not support the sampler2DArrayShadow : version <= 420
|
||||
ERROR: 0:9: '' : compilation terminated
|
||||
ERROR: 2 compilation errors. No code generated
|
||||
11
Test/textureoffset_sampler2darrayshadow.vert
Normal file
11
Test/textureoffset_sampler2darrayshadow.vert
Normal file
@@ -0,0 +1,11 @@
|
||||
#version 300 es
|
||||
precision mediump float;
|
||||
in highp vec4 dEQP_Position;
|
||||
|
||||
uniform mediump sampler2DArrayShadow s;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(textureOffset(s, vec4(0), ivec2(0)));
|
||||
gl_Position = dEQP_Position;
|
||||
}
|
||||
Reference in New Issue
Block a user