Searched refs:texture2D (Results 1 - 21 of 21) sorted by relevance

/external/autotest/client/deps/glbench/src/
H A Dyuv2rgb_2.glslf54 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 Dyuv2rgb_3.glslf49 float yChannel = texture2D(ySampler, yPlane).r;
50 float uChannel = texture2D(uSampler, uvPlane).r;
51 float vChannel = texture2D(vSampler, uvPlane).r;
H A Dyuv2rgb_4.glslf48 float yChannel = texture2D(ySampler, yPlane).r;
49 vec2 uvChannel = texture2D(uvSampler, uvPlane).ra;
H A Dyuv2rgb_1.glslf169 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 DvktProtectedMemShaderImageAccessTests.cpp233 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 Des2fShaderTextureFunctionTests.cpp187 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 Des2fShaderStructTests.cpp1786 << " ${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 Des2fShaderDiscardTests.cpp176 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 DglcShaderRenderCase.hpp203 tcu::Vec4 texture2D(int unitNdx, const tcu::Vec2& coords);
H A DglcShaderStructTests.cpp1591 { 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 DglcShaderRenderCase.cpp365 tcu::Vec4 ShaderEvalContext::texture2D(int unitNdx, const tcu::Vec2& texCoords) function in class:deqp::ShaderEvalContext
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDiscardTests.cpp173 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f)
H A DvktShaderRender.hpp219 tcu::Vec4 texture2D (int unitNdx, const tcu::Vec2& coords);
H A DvktShaderRenderTextureFunctionTests.cpp398 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 DvktShaderRender.cpp433 tcu::Vec4 ShaderEvalContext::texture2D (int unitNdx, const tcu::Vec2& texCoords)
/external/deqp/modules/gles3/functional/
H A Des3fShaderDiscardTests.cpp156 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f)
H A Des3fShaderStructTests.cpp1803 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 Des3fShaderTextureFunctionTests.cpp279 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 DglsShaderRenderCase.hpp167 tcu::Vec4 texture2D (int unitNdx, const tcu::Vec2& coords);
H A DglsShaderRenderCase.cpp314 tcu::Vec4 ShaderEvalContext::texture2D (int unitNdx, const tcu::Vec2& texCoords) function in class:deqp::gls::ShaderEvalContext
/external/deqp/external/openglcts/modules/gles31/
H A Des31cLayoutBindingTests.cpp609 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;

Completed in 346 milliseconds