/external/autotest/client/deps/glbench/src/ |
H A D | yuv2rgb_2.glslf | 54 vec2 offset_even = vec2(texture2D(paritySampler, lineCounter).x * 0.5, 0.0); 57 float yChannel = texture2D(textureSampler, yPlane).x; 58 float uChannel = texture2D(textureSampler, uPlane + offset_even).x; 59 float vChannel = texture2D(textureSampler, vPlane + offset_odd).x;
|
H A D | yuv2rgb_3.glslf | 49 float yChannel = texture2D(ySampler, yPlane).r; 50 float uChannel = texture2D(uSampler, uvPlane).r; 51 float vChannel = texture2D(vSampler, uvPlane).r;
|
H A D | yuv2rgb_4.glslf | 48 float yChannel = texture2D(ySampler, yPlane).r; 49 vec2 uvChannel = texture2D(uvSampler, uvPlane).ra;
|
H A D | yuv2rgb_1.glslf | 169 float yChannel = texture2D(textureSampler, y).x; 170 float uChannel = texture2D(textureSampler, u).x; 171 float vChannel = texture2D(textureSampler, v).x;
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemShaderImageAccessTests.cpp | 233 const tcu::Texture2D& texture2D); 236 void calculateAtomicRef (tcu::Texture2D& texture2D); 238 const tcu::Texture2D& texture2D, 483 de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, IMAGE_WIDTH, IMAGE_HEIGHT)); 486 texture2D->allocLevel(0); 488 const tcu::PixelBufferAccess& level = texture2D->getLevel(0); 501 return texture2D; 504 void ImageAccessTestInstance::uploadImage (vk::VkImage image, const tcu::Texture2D& texture2D) argument 515 const deUint32 width = (deUint32)texture2D.getWidth(); 516 const deUint32 height = (deUint32)texture2D 813 de::MovePtr<tcu::Texture2D> texture2D = createTestTexture2D(); local 1011 de::MovePtr<tcu::Texture2D> texture2D = createTestTexture2D(); local 1379 calculateAtomicRef(tcu::Texture2D& texture2D) argument 1396 validateResult(vk::VkImage image, const tcu::Texture2D& texture2D, const tcu::Sampler& refSampler) argument [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderTextureFunctionTests.cpp | 187 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } function in namespace:deqp::gles2::Functional 191 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } 194 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; } 197 static void evalTexture2DProj3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod)*p.scale + p.bias; } 198 static void evalTexture2DProj3Bias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } 199 static void evalTexture2DProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), p.lod)*p.scale + p.bias; } 200 static void evalTexture2DProjBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), p.lod+c.in[1].x())*p.scale + p.bias; } 202 static void evalTexture2DLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), c.in[1].x())*p.scale + p.bias; } 205 static void evalTexture2DProjLod3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), c.in[1].x())*p.scale + p.bias; } 206 static void evalTexture2DProjLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D( [all...] |
H A D | es2fShaderStructTests.cpp | 1786 << " ${DST} = vec4(texture2D(s.c, ${COORDS}.xy * s.b.xy + s.b.z).rgb, s.a);" 1796 c.color.xyz() = c.texture2D(TEXTURE_BRICK, c.coords.swizzle(0,1) * 0.25f + 0.5f).swizzle(0,1,2); 1818 << " ${DST} = vec4(texture2D(s.b.a, ${COORDS}.xy * s.b.b + s.a).rgb, s.c);" 1829 c.color.xyz() = c.texture2D(TEXTURE_BRICK, c.coords.swizzle(0,1) * 0.25f + 0.5f).swizzle(0,1,2); 1846 << " ${DST} = vec4(texture2D(s[1].c, ${COORDS}.xy * s[0].b.xy + s[1].b.z).rgb, s[0].a);" 1859 c.color.xyz() = c.texture2D(TEXTURE_BRICK, c.coords.swizzle(0,1) * 0.25f + 0.5f).swizzle(0,1,2); 1871 << " return texture2D(s.source, vec2(0.5));" 1885 c.color.xyz() = c.texture2D(TEXTURE_BRICK, tcu::Vec2(0.5f, 0.5f)).swizzle(0,1,2); 1897 << " return texture2D(s[0].source, vec2(0.5));" 1911 c.color.xyz() = c.texture2D(TEXTURE_BRIC [all...] |
H A D | es2fShaderDiscardTests.cpp | 176 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f) 353 case DISCARDMODE_TEXTURE: params["DISCARD"] = "if (texture2D(ut_brick, v_coords.xy*0.25+0.5).x < 0.7) discard"; break;
|
/external/deqp/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.hpp | 203 tcu::Vec4 texture2D(int unitNdx, const tcu::Vec2& coords);
|
H A D | glcShaderStructTests.cpp | 1591 { c.color.xyz() = c.texture2D(TEXTURE_GRADIENT, c.coords.swizzle(0, 1) * 0.75f + 0.1f).swizzle(0, 1, 2); }); 1622 { c.color.xyz() = c.texture2D(TEXTURE_GRADIENT, c.coords.swizzle(0, 1) * 0.75f + 0.1f).swizzle(0, 1, 2); }); 1650 { c.color.xyz() = c.texture2D(TEXTURE_GRADIENT, c.coords.swizzle(0, 1) * 0.75f + 0.1f).swizzle(0, 1, 2); });
|
H A D | glcShaderRenderCase.cpp | 365 tcu::Vec4 ShaderEvalContext::texture2D(int unitNdx, const tcu::Vec2& texCoords) function in class:deqp::ShaderEvalContext
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderDiscardTests.cpp | 173 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f)
|
H A D | vktShaderRender.hpp | 219 tcu::Vec4 texture2D (int unitNdx, const tcu::Vec2& coords);
|
H A D | vktShaderRenderTextureFunctionTests.cpp | 398 inline Vec4 texture2D (const ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } function in namespace:vkt::sr::__anon4524 425 static void evalTexture2D (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } 433 static void evalTexture2DBias (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; } 441 static void evalTexture2DProj3 (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod)*p.scale + p.bias; } 442 static void evalTexture2DProj3Bias (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } 443 static void evalTexture2DProj (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), p.lod)*p.scale + p.bias; } 444 static void evalTexture2DProjBias (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), p.lod+c.in[1].x())*p.scale + p.bias; } 452 static void evalTexture2DLod (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), c.in[1].x())*p.scale + p.bias; } 460 static void evalTexture2DProjLod3 (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), c.in[1].x())*p.scale + p.bias; } 461 static void evalTexture2DProjLod (ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D( 805 de::MovePtr<tcu::Texture2D> texture2D; local [all...] |
H A D | vktShaderRender.cpp | 433 tcu::Vec4 ShaderEvalContext::texture2D (int unitNdx, const tcu::Vec2& texCoords)
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderDiscardTests.cpp | 156 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f)
|
H A D | es3fShaderStructTests.cpp | 1803 c.color.xyz() = c.texture2D(TEXTURE_BRICK, c.coords.swizzle(0,1) * 0.25f + 0.5f).swizzle(0,1,2); 1836 c.color.xyz() = c.texture2D(TEXTURE_BRICK, c.coords.swizzle(0,1) * 0.25f + 0.5f).swizzle(0,1,2); 1866 c.color.xyz() = c.texture2D(TEXTURE_BRICK, c.coords.swizzle(0,1) * 0.25f + 0.5f).swizzle(0,1,2);
|
H A D | es3fShaderTextureFunctionTests.cpp | 279 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } function in namespace:deqp::gles3::Functional 296 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } 301 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; } 306 static void evalTexture2DProj3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod)*p.scale + p.bias; } 307 static void evalTexture2DProj3Bias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } 308 static void evalTexture2DProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), p.lod)*p.scale + p.bias; } 309 static void evalTexture2DProjBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), p.lod+c.in[1].x())*p.scale + p.bias; } 313 static void evalTexture2DLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), c.in[1].x())*p.scale + p.bias; } 318 static void evalTexture2DProjLod3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), c.in[1].x())*p.scale + p.bias; } 319 static void evalTexture2DProjLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D( [all...] |
/external/deqp/modules/glshared/ |
H A D | glsShaderRenderCase.hpp | 167 tcu::Vec4 texture2D (int unitNdx, const tcu::Vec2& coords);
|
H A D | glsShaderRenderCase.cpp | 314 tcu::Vec4 ShaderEvalContext::texture2D (int unitNdx, const tcu::Vec2& texCoords) function in class:deqp::gls::ShaderEvalContext
|
/external/deqp/external/openglcts/modules/gles31/ |
H A D | es31cLayoutBindingTests.cpp | 609 glu::ImmutableTexture2D* texture2D = local 612 texture2D->getRefTexture().allocLevel(0); 613 tcu::clear(texture2D->getRefTexture().getLevel(0), m_expectedColor); 614 texture2D->upload(); 621 m_textures2D[0] = texture2D;
|