/external/deqp/modules/glshared/ |
H A D | glsShaderRenderCase.hpp | 90 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::__anon4859 136 const tcu::Texture2DArray* tex2DArray; member in struct:deqp::gls::ShaderEvalContext::ShaderSampler 142 , tex2DArray(DE_NULL)
|
H A D | glsShaderRenderCase.cpp | 83 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 D | vktShaderRender.hpp | 122 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::__anon3895 185 const tcu::Texture2DArray* tex2DArray; member in struct:vkt::sr::ShaderEvalContext::ShaderSampler 194 , tex2DArray (DE_NULL)
|
H A D | vktShaderRender.cpp | 331 TextureBinding::TextureBinding (const tcu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler) 335 m_binding.tex2DArray = tex2DArray; 354 case TYPE_2D_ARRAY: delete m_binding.tex2DArray; break; 405 case TextureBinding::TYPE_2D_ARRAY: textures[ndx].tex2DArray = &binding.get2DArray(); break;
|
H A D | vktShaderRenderTextureFunctionTests.cpp | 340 float w = (float)c.textures[0].tex2DArray->getWidth(); 341 float h = (float)c.textures[0].tex2DArray->getHeight(); 367 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); } 372 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); } 375 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); } 379 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); } 503 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 D | vktPipelineImageSamplingInstance.cpp | 1188 const TestTexture2DArray* tex2DArray = dynamic_cast<const TestTexture2DArray*>(&testTexture); local 1191 DE_ASSERT(!!tex2D != !!tex2DArray); 1192 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0); 1199 : tex2DArray->getTexture().getLevel((int)subresource.baseMipLevel+levelNdx); 1210 const TestTexture2DArray* tex2DArray = dynamic_cast<const TestTexture2DArray*>(&testTexture); local 1212 DE_ASSERT(!!tex2D != !!tex2DArray); 1213 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0); 1220 : tex2DArray->getTexture().getLevel((int)subresource.baseMipLevel+levelNdx);
|
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrShaderProgram.hpp | 213 const rc::Texture2DArray* tex2DArray; member in union:sglr::UniformSlot::__anon4159
|
H A D | sglrReferenceContext.hpp | 804 void setTex2DArrayBinding (int unit, rc::Texture2DArray* tex2DArray);
|
H A D | sglrReferenceContext.cpp | 4482 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 D | es3fNegativeBufferApiTests.cpp | 1240 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 D | es3fShaderTextureFunctionTests.cpp | 254 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 D | es3fFboTestUtil.cpp | 643 const sglr::rc::Texture2DArray* tex = m_uniforms[0].sampler.tex2DArray;
|
H A D | es3fTextureUnitTests.cpp | 668 case GL_TEXTURE_2D_ARRAY: m_uniforms[4*unitNdx].sampler.tex2DArray->sample4(texSamples, coords3D); break;
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fNegativeBufferApiTests.cpp | 1546 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);
|