diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/builtins/profiles/ARB_texture_cube_map_array.frag | 6 | ||||
-rw-r--r-- | src/glsl/builtins/profiles/ARB_texture_cube_map_array.glsl | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/glsl/builtins/profiles/ARB_texture_cube_map_array.frag b/src/glsl/builtins/profiles/ARB_texture_cube_map_array.frag new file mode 100644 index 00000000000..0d9f4f66d27 --- /dev/null +++ b/src/glsl/builtins/profiles/ARB_texture_cube_map_array.frag @@ -0,0 +1,6 @@ +#version 130 +#extension GL_ARB_texture_cube_map_array : enable + + vec4 texture( samplerCubeArray sampler, vec4 coord, float bias); +ivec4 texture(isamplerCubeArray sampler, vec4 coord, float bias); +uvec4 texture(usamplerCubeArray sampler, vec4 coord, float bias); diff --git a/src/glsl/builtins/profiles/ARB_texture_cube_map_array.glsl b/src/glsl/builtins/profiles/ARB_texture_cube_map_array.glsl index 0f53212953f..73659b3e848 100644 --- a/src/glsl/builtins/profiles/ARB_texture_cube_map_array.glsl +++ b/src/glsl/builtins/profiles/ARB_texture_cube_map_array.glsl @@ -7,7 +7,8 @@ ivec3 textureSize(usamplerCubeArray sampler, int lod); ivec3 textureSize(samplerCubeArrayShadow sampler, int lod); vec4 texture( samplerCubeArray sampler, vec4 coord); - vec4 texture( samplerCubeArray sampler, vec4 coord, float bias); +ivec4 texture(isamplerCubeArray sampler, vec4 coord); +uvec4 texture(usamplerCubeArray sampler, vec4 coord); float texture( samplerCubeArrayShadow sampler, vec4 P, float compare); vec4 textureGrad( samplerCubeArray sampler, vec4 P, vec3 dPdx, vec3 dPdy); |