Home
last modified time | relevance | path

Searched refs:tex2DArray (Results 1 – 22 of 22) sorted by relevance

/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.hpp108 TextureBinding(const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
116 void setTexture(const glu::Texture2DArray* tex2DArray);
141 return m_binding.tex2DArray; in get2DArray()
160 const glu::Texture2DArray* tex2DArray; member
183 const tcu::Texture2DArray* tex2DArray; member
188 : tex2D(DE_NULL), texCube(DE_NULL), tex2DArray(DE_NULL), tex3D(DE_NULL), texCubeArray(DE_NULL) in ShaderSampler()
DglcShaderRenderCase.cpp90 TextureBinding::TextureBinding(const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) in TextureBinding() argument
93 m_binding.tex2DArray = tex2DArray; in TextureBinding()
130 void TextureBinding::setTexture(const glu::Texture2DArray* tex2DArray) in setTexture() argument
133 m_binding.tex2DArray = tex2DArray; in setTexture()
345 textures[ndx].tex2DArray = &binding.get2DArray()->getRefTexture(); in ShaderEvalContext()
/external/deqp/modules/glshared/
DglsShaderRenderCase.hpp90 TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
97 void setTexture (const glu::Texture2DArray* tex2DArray);
104 …y* get2DArray (void) const { DE_ASSERT(getType() == TYPE_2D_ARRAY); return m_binding.tex2DArray;} in get2DArray()
114 const glu::Texture2DArray* tex2DArray; member
136 const tcu::Texture2DArray* tex2DArray; member
142 , tex2DArray(DE_NULL) in ShaderSampler()
DglsShaderRenderCase.cpp83 TextureBinding::TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) in TextureBinding() argument
87 m_binding.tex2DArray = tex2DArray; in TextureBinding()
120 void TextureBinding::setTexture (const glu::Texture2DArray* tex2DArray) in setTexture() argument
123 m_binding.tex2DArray = tex2DArray; in setTexture()
285 …case TextureBinding::TYPE_2D_ARRAY: textures[ndx].tex2DArray = &binding.get2DArray()->getRefTextur… in ShaderEvalContext()
/external/deqp-deps/glslang/Test/
Dweb.separate.frag35 layout(binding = 15) uniform texture2DArray tex2DArray;
51 sampler2DArray (tex2DArray, s);
52 sampler2DArrayShadow (tex2DArray, sShadow);
Dspv.separate.frag29 uniform texture2DArray tex2DArray;
68 sampler2DArray (tex2DArray, s);
69 sampler2DArrayShadow (tex2DArray, sShadow);
/external/deqp-deps/glslang/Test/baseResults/
Dweb.separate.frag.out22 OpName %tex2DArray "tex2DArray"
57 OpDecorate %tex2DArray DescriptorSet 0
58 OpDecorate %tex2DArray Binding 15
120 %tex2DArray = OpVariable %_ptr_UniformConstant_63 UniformConstant
Dspv.separate.frag.out37 Name 145 "tex2DArray"
94 Decorate 145(tex2DArray) DescriptorSet 0
95 Decorate 145(tex2DArray) Binding 0
219 145(tex2DArray): 144(ptr) Variable UniformConstant
379 146: 143 Load 145(tex2DArray)
382 150: 143 Load 145(tex2DArray)
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp134 TextureBinding (const tcu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
147 … DE_ASSERT(getType() == TYPE_2D_ARRAY && m_binding.tex2DArray != NULL); return *m_binding.tex2DAr… in get2DArray()
170 const tcu::Texture2DArray* tex2DArray; member
197 const tcu::Texture2DArray* tex2DArray; member
206 , tex2DArray (DE_NULL) in ShaderSampler()
DvktShaderRender.cpp348 TextureBinding::TextureBinding (const tcu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) in TextureBinding() argument
352 m_binding.tex2DArray = tex2DArray; in TextureBinding()
371 case TYPE_2D_ARRAY: delete m_binding.tex2DArray; break; in ~TextureBinding()
422 case TextureBinding::TYPE_2D_ARRAY: textures[ndx].tex2DArray = &binding.get2DArray(); break; in ShaderEvalContext()
DvktShaderRenderTextureFunctionTests.cpp363 float w = (float)c.textures[0].tex2DArray->getWidth(); in computeLodFromGrad2DArray()
364 float h = (float)c.textures[0].tex2DArray->getHeight(); in computeLodFromGrad2DArray()
412 …ext& c, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sample(c.textur… in texture2DArray()
420 …at ref, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sampleCompare(c… in texture2DArrayShadow()
426 …t s, float t, float r, float lod, IVec2 offset) { return c.textures[0].tex2DArray->sampleOffset(c.… in texture2DArrayOffset()
432 …t s, float t, float r, float lod, IVec2 offset) { return c.textures[0].tex2DArray->sampleCompareOf… in texture2DArrayShadowOffset()
667 c.color = c.textures[0].tex2DArray->getLevel(lod).getPixel(x, y, l)*p.scale + p.bias; in evalTexelFetch2DArray()
/external/angle/src/tests/gl_tests/
DMultiviewDrawTest.cpp580 GLTexture tex2DArray; in TEST_P() local
581 initOnePixelColorTexture2DMultiLayered(tex2DArray); in TEST_P()
583 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, 0, 2); in TEST_P()
673 GLTexture tex2DArray; in TEST_P() local
674 initOnePixelColorTexture2DMultiLayered(tex2DArray); in TEST_P()
676 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, 0, 2); in TEST_P()
715 GLTexture tex2DArray; in TEST_P() local
716 initOnePixelColorTexture2DMultiLayered(tex2DArray); in TEST_P()
718 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, 0, 2); in TEST_P()
780 GLTexture tex2DArray; in TEST_P() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1264 const TestTexture2DArray* tex2DArray = dynamic_cast<const TestTexture2DArray*>(&testTexture); in getTexture2DView() local
1267 DE_ASSERT(!!tex2D != !!tex2DArray); in getTexture2DView()
1268 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0); in getTexture2DView()
1275 : tex2DArray->getTexture().getLevel((int)subresource.baseMipLevel+levelNdx); in getTexture2DView()
1286 const TestTexture2DArray* tex2DArray = dynamic_cast<const TestTexture2DArray*>(&testTexture); in getTexture2DArrayView() local
1288 DE_ASSERT(!!tex2D != !!tex2DArray); in getTexture2DArrayView()
1289 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0); in getTexture2DArrayView()
1296 : tex2DArray->getTexture().getLevel((int)subresource.baseMipLevel+levelNdx); in getTexture2DArrayView()
/external/deqp/framework/opengl/simplereference/
DsglrShaderProgram.hpp213 const rc::Texture2DArray* tex2DArray; member
DsglrReferenceContext.hpp806 void setTex2DArrayBinding (int unit, rc::Texture2DArray* tex2DArray);
DsglrReferenceContext.cpp4500 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2DArray = tex; in drawWithReference()
4503 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2DArray = &m_emptyTex2DArray; in drawWithReference()
/external/deqp/modules/gles3/functional/
Des3fNegativeBufferApiTests.cpp1240 deUint32 tex2DArray; in init()
1245 glGenTextures (1, &tex2DArray); in init()
1251 glBindTexture (GL_TEXTURE_2D_ARRAY, tex2DArray); in init()
1294 …glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, maxArrayTexLayers); in init()
1305 glDeleteTextures (1, &tex2DArray); in init()
Des3fShaderTextureFunctionTests.cpp254 float w = (float)c.textures[0].tex2DArray->getWidth(); in computeLodFromGrad2DArray()
255 float h = (float)c.textures[0].tex2DArray->getHeight(); in computeLodFromGrad2DArray()
281 …ntext& c, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sample(c.textur… in texture2DArray()
286 …loat ref, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sampleCompare(c… in texture2DArrayShadow()
289 …t s, float t, float r, float lod, IVec2 offset) { return c.textures[0].tex2DArray->sampleOffset(c.… in texture2DArrayOffset()
293 …t s, float t, float r, float lod, IVec2 offset) { return c.textures[0].tex2DArray->sampleCompareOf… in texture2DArrayShadowOffset()
417 c.color = c.textures[0].tex2DArray->getLevel(lod).getPixel(x, y, l)*p.scale + p.bias; in evalTexelFetch2DArray()
Des3fFboTestUtil.cpp643 const sglr::rc::Texture2DArray* tex = m_uniforms[0].sampler.tex2DArray; in shadeFragments()
Des3fTextureUnitTests.cpp668 …case GL_TEXTURE_2D_ARRAY: m_uniforms[4*unitNdx].sampler.tex2DArray->sample4(texSamples, coords3D);… in shadeFragments()
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp1555 deUint32 tex2DArray = 0x1234; in framebuffer_texture_layer() local
1571 ctx.glGenTextures (1, &tex2DArray); in framebuffer_texture_layer()
1577 ctx.glBindTexture (GL_TEXTURE_2D_ARRAY, tex2DArray); in framebuffer_texture_layer()
1616 …ctx.glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, maxArrayTexLay… in framebuffer_texture_layer()
1637 …ctx.glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, -1, maxArrayTexLa… in framebuffer_texture_layer()
1639 …ctx.glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, log2MaxTexSize + … in framebuffer_texture_layer()
1679 ctx.glDeleteTextures (1, &tex2DArray); in framebuffer_texture_layer()
/external/deqp/external/openglcts/modules/glesext/texture_shadow_lod/
DesextcTextureShadowLodFunctionsTest.cpp206 return c.textures[0].tex2DArray->sampleCompare(c.textures[0].sampler, ref, s, t, r, lod); in texture2DArrayShadow()
224 …return c.textures[0].tex2DArray->sampleCompareOffset(c.textures[0].sampler, ref, s, t, r, lod, off… in texture2DArrayShadowOffset()