support GL_EXT_texture_array extention.
This commit is contained in:
parent
c4d34471c4
commit
07e8220d4e
7 changed files with 235 additions and 1 deletions
34
Test/GL_EXT_texture_array.frag
Normal file
34
Test/GL_EXT_texture_array.frag
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#version 110
|
||||
|
||||
#extension GL_EXT_texture_array : enable
|
||||
|
||||
uniform sampler1DArray s1DA;
|
||||
uniform sampler2DArray s2DA;
|
||||
uniform sampler1DArrayShadow s1DAS;
|
||||
uniform sampler2DArrayShadow s2DAS;
|
||||
|
||||
void foo()
|
||||
{
|
||||
float f;
|
||||
vec2 v2;
|
||||
vec3 v3;
|
||||
vec4 v4;
|
||||
|
||||
v4 = texture1DArray(s1DA, v2);
|
||||
v4 = texture2DArray(s2DA, v3);
|
||||
v4 = shadow1DArray(s1DAS, v3);
|
||||
v4 = shadow2DArray(s2DAS, v4);
|
||||
|
||||
v4 = texture1DArray(s1DA, v2, f);
|
||||
v4 = texture2DArray(s2DA, v3, f);
|
||||
v4 = shadow1DArray(s1DAS, v3, f);
|
||||
|
||||
v4 = texture1DArrayLod(s1DA, v2, f);
|
||||
v4 = texture2DArrayLod(s2DA, v3, f);
|
||||
v4 = shadow1DArrayLod(s1DAS, v3, f);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
foo();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue