/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureTestUtil.hpp | 170 // Similar to sampleTexture() except uses texelFetch. 173 void sampleTexture (const tcu::PixelBufferAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params); 175 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params); 176 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceParams& params); 177 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceParams& params); 178 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture3DView& src, const float* texCoord, const ReferenceParams& params); 179 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::TextureCubeArrayView& src, const float* texCoord, const ReferenceParams& params); 180 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, const ReferenceParams& params); 181 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture1DArrayView& src, const float* texCoord, const ReferenceParams& params);
|
H A D | gluTextureTestUtil.cpp | 559 void sampleTexture (const tcu::PixelBufferAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params) in sampleTexture() function 581 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture2DView& src, const float* texCoord, const ReferenceParams& params) in sampleTexture() function 603 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture1DView& src, const float* texCoord, const ReferenceParams& params) in sampleTexture() function 702 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::TextureCubeView& src, const float* texCoord, const ReferenceParams& params) in sampleTexture() function 761 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture2DArrayView& src, const float* texCoord, const ReferenceParams& params) in sampleTexture() function 808 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture1DArrayView& src, const float* texCoord, const ReferenceParams& params) in sampleTexture() function 907 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture3DView& src, const float* texCoord, const ReferenceParams& params) in sampleTexture() function 981 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::TextureCubeArrayView& src, const float* texCoord, const ReferenceParams& params) in sampleTexture() function 1555 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); in verifyTextureResult() 1591 sampleTexture(tc in verifyTextureResult() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | SamplerCore.hpp | 53 Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy); 54 Vector4f sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function); 58 Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function, bool fixed12);
|
H A D | PixelPipeline.hpp | 62 Vector4s sampleTexture(int coordinates, int sampler, bool project = false); 63 Vector4s sampleTexture(int sampler, Float4 &u, Float4 &v, Float4 &w, Float4 &q, bool project = false);
|
H A D | PixelProgram.hpp | 66 Vector4f sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function); 67 Vector4f sampleTexture(int samplerIndex, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function);
|
H A D | VertexProgram.hpp | 124 Vector4f sampleTexture(const Src &s, Vector4f &uvwq, Float4 &lod, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function); 125 Vector4f sampleTexture(int sampler, Vector4f &uvwq, Float4 &lod, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function);
|
H A D | PixelPipeline.cpp | 52 texture = sampleTexture(stage, stage); in fixedFunction() 1211 Vector4s PixelPipeline::sampleTexture(int coordinates, int stage, bool project) 1226 return sampleTexture(stage, x, y, z, w, project); 1229 Vector4s PixelPipeline::sampleTexture(int stage, Float4 &u, Float4 &v, Float4 &w, Float4 &q, bool project) 1244 c = SamplerCore(constants, state.sampler[stage]).sampleTexture(texture, u, v, w, q, q, dsx, dsy); 1254 c = SamplerCore(constants, state.sampler[stage]).sampleTexture(texture, u_q, v_q, w_q, q, q, dsx, dsy); 1651 dst = sampleTexture(stage, u_, v_, w_, w_); 1679 dst = sampleTexture(sampler, u, v, s, s, project); 1688 dst = sampleTexture(sampler, u, v, s, s, project); 1709 dst = sampleTexture(stag [all...] |
H A D | VertexProgram.cpp | 1585 dst = sampleTexture(src1, src0, (src0.x), (src0), (src0), (src0), Base); in TEX() 1590 dst = sampleTexture(src1, src0, (src0.x), (src0), (src0), offset, {Base, Offset}); in TEXOFFSET() 1595 dst = sampleTexture(src1, src0, lod, (src0), (src0), (src0), Lod); in TEXLOD() 1600 dst = sampleTexture(src1, src0, lod, (src0), (src0), offset, {Lod, Offset}); in TEXLODOFFSET() 1605 dst = sampleTexture(src1, src0, lod, (src0), (src0), (src0), Fetch); in TEXELFETCH() 1610 dst = sampleTexture(src1, src0, lod, (src0), (src0), offset, {Fetch, Offset}); in TEXELFETCHOFFSET() 1615 dst = sampleTexture(src1, src0, (src0.x), dsx, dsy, src0, Grad); in TEXGRAD() 1620 dst = sampleTexture(src1, src0, (src0.x), dsx, dsy, offset, {Grad, Offset}); in TEXGRADOFFSET() 1632 Vector4f VertexProgram::sampleTexture(const Src &s, Vector4f &uvwq, Float4 &lod, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function) in sampleTexture() function in sw::VertexProgram 1638 tmp = sampleTexture( in sampleTexture() 1666 Vector4f VertexProgram::sampleTexture(int sampler, Vector4f &uvwq, Float4 &lod, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function) sampleTexture() function in sw::VertexProgram [all...] |
H A D | PixelProgram.cpp | 748 Vector4f PixelProgram::sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function) in sampleTexture() function in sw::PixelProgram 754 tmp = sampleTexture(sampler.index, uvwq, bias, dsx, dsy, offset, function); in sampleTexture() 766 tmp = sampleTexture(i, uvwq, bias, dsx, dsy, offset, function); in sampleTexture() 782 Vector4f PixelProgram::sampleTexture(int samplerIndex, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function) in sampleTexture() function in sw::PixelProgram 789 Vector4f c = SamplerCore(constants, state.sampler[samplerIndex]).sampleTexture(texture, uvwq.x, uvwq.y, uvwq.z, uvwq.w, bias, dsx, dsy, offset, function); in sampleTexture() 1262 dst = sampleTexture(src1, proj, src0.x, (src0), (src0), (src0), Implicit); in TEX() 1266 dst = sampleTexture(src1, src0, src0.x, (src0), (src0), (src0), bias ? Bias : Implicit); in TEX() 1272 dst = sampleTexture(src1, src0, (src0.x), (src0), (src0), offset, {Implicit, Offset}); in TEXOFFSET() 1277 dst = sampleTexture(src1, src0, lod, (src0), (src0), offset, {Lod, Offset}); in TEXLODOFFSET() 1282 dst = sampleTexture(src in TEXBIAS() [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureWrapTests.cpp | 223 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, viewport.height), in iterate() 236 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, viewport.height), in iterate() 251 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, viewport.height), in iterate() 258 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, viewport.height), in iterate()
|
H A D | es2fTextureFormatTests.cpp | 193 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in iterate() 361 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testFace() 483 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], refParams); in iterate() 595 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); in testFace()
|
H A D | es2fTextureSizeTests.cpp | 160 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); in iterate() 309 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); in testFace()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTextureFormatTests.cpp | 233 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in iterate() 420 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testFace() 582 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testLayer() 740 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testSlice() 883 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in iterate() 1036 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); in testFace() 1149 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], refParams); in iterate() 1261 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); in testFace()
|
H A D | es3fTextureSizeTests.cpp | 161 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); in iterate() 310 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler)); in testFace()
|
H A D | es3fTextureMipmapTests.cpp | 434 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate() 753 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], params); in iterate() 1380 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate() 1582 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate() 1898 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], params); in iterate() 2214 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), in iterate()
|
H A D | es3fTextureSwizzleTests.cpp | 197 sampleTexture(tcu::SurfaceAccess(referenceFrame, tcu::PixelFormat(8,8,8,8)), m_texture->getRefTexture(), &texCoord[0], renderParams); in iterate()
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 244 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), in iterate() 255 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), in iterate() 284 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), in iterate() 295 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight), in iterate() 511 sampleTexture(tcu::SurfaceAccess(dstRef, curX, curY, curW, curH), refTexture, &texCoord[0], params); in renderFaces()
|
H A D | es2aTextureMipmapTests.cpp | 353 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], sampleParams); in iterate() 621 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], params); in iterate()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
H A D | es3aTextureFilteringTests.cpp | 234 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, 0, leftWidth, bottomHeight), in iterate() 245 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, 0, rightWidth, bottomHeight), in iterate() 274 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), 0, bottomHeight, leftWidth, topHeight), in iterate() 285 sampleTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat(), leftWidth, bottomHeight, rightWidth, topHeight), in iterate() 520 sampleTexture(tcu::SurfaceAccess(dstRef, curX, curY, curW, curH), refTexture, &texCoord[0], params); in renderFaces()
|
H A D | es3aTextureMipmapTests.cpp | 345 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], sampleParams); in iterate() 609 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], params); in iterate()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | TextureZeroInitTests.cpp | 1277 wgpu::Texture sampleTexture = device.CreateTexture(&sampleTextureDescriptor); in TEST_P() local 1291 utils::CreateImageCopyTexture(sampleTexture, 1, {0, 0, 0}); in TEST_P() 1308 {{0, sampleTexture.CreateView()}}); in TEST_P() 1334 0u, EXPECT_TEXTURE_EQ(expectedWithZeros.data(), sampleTexture, {0, 0}, {kSize, kSize}, 0)); in TEST_P() 1338 EXPECT_LAZY_CLEAR(0u, EXPECT_TEXTURE_EQ(expectedWithTwos.data(), sampleTexture, {0, 0}, in TEST_P() 1342 EXPECT_EQ(true, dawn_native::IsTextureSubresourceInitialized(sampleTexture.Get(), 0, 2, 0, 1)); in TEST_P() 1356 wgpu::Texture sampleTexture = device.CreateTexture(&sampleTextureDescriptor); in TEST_P() local 1369 utils::CreateImageCopyTexture(sampleTexture, 0, {0, 0, 1}); in TEST_P() 1392 {{0, sampleTexture.CreateView(&textureViewDescriptor)}}); in TEST_P() 1418 0u, EXPECT_TEXTURE_EQ(expectedWithZeros.data(), sampleTexture, { in TEST_P() [all...] |
H A D | TextureFormatTests.cpp | 204 wgpu::Texture sampleTexture = device.CreateTexture(&sampleTextureDesc); in DoSampleTest() local 228 {{0, sampleTexture.CreateView()}}); in DoSampleTest() 237 utils::CreateImageCopyTexture(sampleTexture, 0, {0, 0, 0}); in DoSampleTest()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderSampling.cpp | 207 // TODO(b/133868964) Pass down 4 component lodOrBias, dsx, and dsy to sampleTexture in emitSamplerRoutine() 228 Vector4f sample = s.sampleTexture(texture, uvwa, dRef, lod[i], dPdx, dPdy, offset, sampleId, samplerFunction); in emitSamplerRoutine() 253 Vector4f sample = s.sampleTexture(texture, uvwa, dRef, lodOrBias.x, (dsx.x), (dsy.x), offset, sampleId, samplerFunction); in emitSamplerRoutine()
|
H A D | SamplerCore.hpp | 64 Vector4f sampleTexture(Pointer<Byte> &texture, Float4 uvwa[4], Float4 &q, Float &&lodOrBias, Float4 &dsx, Float4 &dsy, Vector4i &offset, Int4 &sample, SamplerFunction function);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureConversionTests.cpp | 249 sampleTexture(reference, m_swTexture, texCoords.data(), samplerParams); in iterate()
|