Searched refs:tex2DArray (Results 1 - 16 of 16) sorted by relevance

/external/deqp/external/openglcts/modules/common/
H A DglcShaderRenderCase.hpp106 TextureBinding(const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
113 void setTexture(const glu::Texture2DArray* tex2DArray);
137 return m_binding.tex2DArray;
151 const glu::Texture2DArray* tex2DArray; member in union:deqp::TextureBinding::__anon4099
173 const tcu::Texture2DArray* tex2DArray; member in struct:deqp::ShaderEvalContext::ShaderSampler
176 inline ShaderSampler(void) : tex2D(DE_NULL), texCube(DE_NULL), tex2DArray(DE_NULL), tex3D(DE_NULL)
H A DglcShaderRenderCase.cpp90 TextureBinding::TextureBinding(const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) argument
93 m_binding.tex2DArray = tex2DArray;
124 void TextureBinding::setTexture(const glu::Texture2DArray* tex2DArray) argument
127 m_binding.tex2DArray = tex2DArray;
333 textures[ndx].tex2DArray = &binding.get2DArray()->getRefTexture();
/external/deqp/modules/glshared/
H A DglsShaderRenderCase.hpp90 TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
97 void setTexture (const glu::Texture2DArray* tex2DArray);
104 const glu::Texture2DArray* get2DArray (void) const { DE_ASSERT(getType() == TYPE_2D_ARRAY); return m_binding.tex2DArray;}
114 const glu::Texture2DArray* tex2DArray; member in union:deqp::gls::TextureBinding::__anon5525
136 const tcu::Texture2DArray* tex2DArray; member in struct:deqp::gls::ShaderEvalContext::ShaderSampler
142 , tex2DArray(DE_NULL)
H A DglsShaderRenderCase.cpp83 TextureBinding::TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) argument
87 m_binding.tex2DArray = tex2DArray;
120 void TextureBinding::setTexture (const glu::Texture2DArray* tex2DArray) argument
123 m_binding.tex2DArray = tex2DArray;
285 case TextureBinding::TYPE_2D_ARRAY: textures[ndx].tex2DArray = &binding.get2DArray()->getRefTexture(); break;
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.hpp122 TextureBinding (const tcu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler);
135 const tcu::Texture2DArray& get2DArray (void) const { DE_ASSERT(getType() == TYPE_2D_ARRAY && m_binding.tex2DArray != NULL); return *m_binding.tex2DArray; }
158 const tcu::Texture2DArray* tex2DArray; member in union:vkt::sr::TextureBinding::__anon4498
185 const tcu::Texture2DArray* tex2DArray; member in struct:vkt::sr::ShaderEvalContext::ShaderSampler
194 , tex2DArray (DE_NULL)
H A DvktShaderRender.cpp330 TextureBinding::TextureBinding (const tcu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler)
334 m_binding.tex2DArray = tex2DArray;
353 case TYPE_2D_ARRAY: delete m_binding.tex2DArray; break;
404 case TextureBinding::TYPE_2D_ARRAY: textures[ndx].tex2DArray = &binding.get2DArray(); break;
H A DvktShaderRenderTextureFunctionTests.cpp351 float w = (float)c.textures[0].tex2DArray->getWidth();
352 float h = (float)c.textures[0].tex2DArray->getHeight();
400 inline Vec4 texture2DArray (const ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sample(c.textures[0].sampler, s, t, r, lod); }
408 inline float texture2DArrayShadow (const ShaderEvalContext& c, float ref, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sampleCompare(c.textures[0].sampler, ref, s, t, r, lod); }
414 inline Vec4 texture2DArrayOffset (const ShaderEvalContext& c, float s, float t, float r, float lod, IVec2 offset) { return c.textures[0].tex2DArray->sampleOffset(c.textures[0].sampler, s, t, r, lod, offset); }
420 inline float texture2DArrayShadowOffset (const ShaderEvalContext& c, float ref, float s, float t, float r, float lod, IVec2 offset) { return c.textures[0].tex2DArray->sampleCompareOffset(c.textures[0].sampler, ref, s, t, r, lod, offset); }
608 c.color = c.textures[0].tex2DArray->getLevel(lod).getPixel(x, y, l)*p.scale + p.bias;
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageSamplingInstance.cpp1229 const TestTexture2DArray* tex2DArray = dynamic_cast<const TestTexture2DArray*>(&testTexture); local
1232 DE_ASSERT(!!tex2D != !!tex2DArray);
1233 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0);
1240 : tex2DArray->getTexture().getLevel((int)subresource.baseMipLevel+levelNdx);
1251 const TestTexture2DArray* tex2DArray = dynamic_cast<const TestTexture2DArray*>(&testTexture); local
1253 DE_ASSERT(!!tex2D != !!tex2DArray);
1254 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0);
1261 : tex2DArray->getTexture().getLevel((int)subresource.baseMipLevel+levelNdx);
/external/deqp/framework/opengl/simplereference/
H A DsglrShaderProgram.hpp213 const rc::Texture2DArray* tex2DArray; member in union:sglr::UniformSlot::__anon4812
H A DsglrReferenceContext.hpp804 void setTex2DArrayBinding (int unit, rc::Texture2DArray* tex2DArray);
H A DsglrReferenceContext.cpp4482 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2DArray = tex;
4485 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.tex2DArray = &m_emptyTex2DArray;
/external/deqp/modules/gles3/functional/
H A Des3fNegativeBufferApiTests.cpp1240 deUint32 tex2DArray;
1245 glGenTextures (1, &tex2DArray);
1251 glBindTexture (GL_TEXTURE_2D_ARRAY, tex2DArray);
1294 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, maxArrayTexLayers);
1305 glDeleteTextures (1, &tex2DArray);
H A Des3fShaderTextureFunctionTests.cpp254 float w = (float)c.textures[0].tex2DArray->getWidth();
255 float h = (float)c.textures[0].tex2DArray->getHeight();
281 inline Vec4 texture2DArray (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sample(c.textures[0].sampler, s, t, r, lod); }
286 inline float texture2DArrayShadow (const gls::ShaderEvalContext& c, float ref, float s, float t, float r, float lod) { return c.textures[0].tex2DArray->sampleCompare(c.textures[0].sampler, ref, s, t, r, lod); }
289 inline Vec4 texture2DArrayOffset (const gls::ShaderEvalContext& c, float s, float t, float r, float lod, IVec2 offset) { return c.textures[0].tex2DArray->sampleOffset(c.textures[0].sampler, s, t, r, lod, offset); }
293 inline float texture2DArrayShadowOffset (const gls::ShaderEvalContext& c, float ref, float s, float t, float r, float lod, IVec2 offset) { return c.textures[0].tex2DArray->sampleCompareOffset(c.textures[0].sampler, ref, s, t, r, lod, offset); }
417 c.color = c.textures[0].tex2DArray->getLevel(lod).getPixel(x, y, l)*p.scale + p.bias;
H A Des3fFboTestUtil.cpp643 const sglr::rc::Texture2DArray* tex = m_uniforms[0].sampler.tex2DArray;
H A Des3fTextureUnitTests.cpp668 case GL_TEXTURE_2D_ARRAY: m_uniforms[4*unitNdx].sampler.tex2DArray->sample4(texSamples, coords3D); break;
/external/deqp/modules/gles31/functional/
H A Des31fNegativeBufferApiTests.cpp1546 deUint32 tex2DArray = 0x1234; local
1562 ctx.glGenTextures (1, &tex2DArray);
1568 ctx.glBindTexture (GL_TEXTURE_2D_ARRAY, tex2DArray);
1607 ctx.glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, maxArrayTexLayers);
1628 ctx.glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, -1, maxArrayTexLayers - 1);
1630 ctx.glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, log2MaxTexSize + 1, maxArrayTexLayers - 1);
1670 ctx.glDeleteTextures (1, &tex2DArray);

Completed in 8358 milliseconds