TextureOffset not support sampler2DArrayShadow sampler until 430.
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
This commit is contained in:
parent
a7f846a86c
commit
41992e432c
4 changed files with 26 additions and 0 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue