/third_party/ffmpeg/libavfilter/ |
D | vf_yadif_cuda.cu | 115 dst[yo*dst_pitch+xo] = tex2D<T>(cur, xo, yo); in yadif_single() 120 T a = tex2D<T>(cur, xo - 3, yo - 1); in yadif_single() 121 T b = tex2D<T>(cur, xo - 2, yo - 1); in yadif_single() 122 T c = tex2D<T>(cur, xo - 1, yo - 1); in yadif_single() 123 T d = tex2D<T>(cur, xo - 0, yo - 1); in yadif_single() 124 T e = tex2D<T>(cur, xo + 1, yo - 1); in yadif_single() 125 T f = tex2D<T>(cur, xo + 2, yo - 1); in yadif_single() 126 T g = tex2D<T>(cur, xo + 3, yo - 1); in yadif_single() 128 T h = tex2D<T>(cur, xo - 3, yo + 1); in yadif_single() 129 T i = tex2D<T>(cur, xo - 2, yo + 1); in yadif_single() [all …]
|
D | vf_scale_cuda.cu | 42 dst[yo*dst_pitch+xo] = tex2D<T>(tex, xi, yi); in Subsample_Nearest() 71 r += tex2D<T>(tex, xi - dx, yi - dy); in Subsample_Bilinear() 72 r += tex2D<T>(tex, xi + dx, yi - dy); in Subsample_Bilinear() 73 r += tex2D<T>(tex, xi - dx, yi + dy); in Subsample_Bilinear() 74 r += tex2D<T>(tex, xi + dx, yi + dy); in Subsample_Bilinear()
|
D | vf_thumbnail_cuda.cu | 32 unsigned char pixel = tex2D<unsigned char>(uchar_tex, x, y); in Thumbnail_uchar() 45 uchar2 pixel = tex2D<uchar2>(uchar2_tex, x, y); in Thumbnail_uchar2() 59 unsigned short pixel = (tex2D<unsigned short>(ushort_tex, x, y) + 128) >> 8; in Thumbnail_ushort() 72 ushort2 pixel = tex2D<ushort2>(ushort2_tex, x, y); in Thumbnail_ushort2()
|
/third_party/glslang/Test/ |
D | samplerlessTextureFunctions.frag | 3 layout(binding = 1) uniform texture2D tex2D; 9 vec4 tex2DFetch = texelFetch(tex2D, ivec2(0, 0), 0); 16 vec4 tex2DFetchOffset = texelFetchOffset(tex2D, ivec2(0, 0), 0, ivec2(0, 0)); 18 ivec2 tex2DSize = textureSize(tex2D, 0); 22 int tex2DLevels = textureQueryLevels(tex2D); 33 vec4 tex2DFetch = texelFetch(tex2D, ivec2(0, 0), 0); 37 vec4 tex2DFetchOffset = texelFetchOffset(tex2D, ivec2(0, 0), 0, ivec2(0, 0)); 39 ivec2 tex2DSize = textureSize(tex2D, 0); 43 int tex2DLevels = textureQueryLevels(tex2D);
|
D | spv.samplerlessTextureFunctions.frag | 4 layout(binding = 1) uniform texture2D tex2D; 10 vec4 tex2DFetch = texelFetch(tex2D, ivec2(0, 0), 0); 14 vec4 tex2DFetchOffset = texelFetchOffset(tex2D, ivec2(0, 0), 0, ivec2(0, 0)); 16 ivec2 tex2DSize = textureSize(tex2D, 0); 20 int tex2DLevels = textureQueryLevels(tex2D);
|
D | web.separate.frag | 33 layout(binding = 5) uniform texture2D tex2D; 48 sampler2D (tex2D, s); 62 sampler2DShadow (tex2D, sShadow);
|
D | hlsl.sample.dx9.frag | 20 ColorOut += tex2D( g_sam , float2(0.4,0.3)); 22 ColorOut += tex2D( g_sam2D, float2(0.5,0.6));
|
D | spv.separate.frag | 19 uniform texture2D tex2D; 55 sampler2D (tex2D, s); 91 sampler2DShadow (tex2D, sShadow);
|
/third_party/glslang/Test/baseResults/ |
D | spv.samplerlessTextureFunctions.frag.out | 17 Name 12 "tex2D" 28 Decorate 12(tex2D) DescriptorSet 0 29 Decorate 12(tex2D) Binding 1 41 12(tex2D): 11(ptr) Variable UniformConstant 65 13: 10 Load 12(tex2D) 74 32: 10 Load 12(tex2D) 77 36: 10 Load 12(tex2D) 86 46: 10 Load 12(tex2D)
|
D | web.separate.frag.out | 20 OpName %tex2D "tex2D" 51 OpDecorate %tex2D RelaxedPrecision 52 OpDecorate %tex2D DescriptorSet 0 53 OpDecorate %tex2D Binding 5 112 %tex2D = OpVariable %_ptr_UniformConstant_11 UniformConstant
|
D | spv.separate.frag.out | 25 Name 58 "tex2D" 70 Decorate 58(tex2D) DescriptorSet 0 71 Decorate 58(tex2D) Binding 0 171 58(tex2D): 13(ptr) Variable UniformConstant 340 59: 12 Load 58(tex2D) 448 297: 12 Load 58(tex2D)
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFboApiTests.cpp | 181 deUint32 tex2D = 1; in validTex2DAttachmentsTest() local 182 context.bindTexture(GL_TEXTURE_2D, tex2D); in validTex2DAttachmentsTest() 185 context.framebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_TEXTURE_2D, tex2D, 0); in validTex2DAttachmentsTest() 248 deUint32 tex2D = 1; in attachToDefaultFramebufferTest() local 249 context.bindTexture(GL_TEXTURE_2D, tex2D); in attachToDefaultFramebufferTest() 250 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, 0); in attachToDefaultFramebufferTest() 267 deUint32 tex2D = 1; in invalidTex2DAttachmentTest() local 268 context.bindTexture(GL_TEXTURE_2D, tex2D); in invalidTex2DAttachmentTest() 269 …amebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, tex2D, 0); in invalidTex2DAttachmentTest() 273 context.deleteTextures(1, &tex2D); in invalidTex2DAttachmentTest() [all …]
|
D | es3fNegativeBufferApiTests.cpp | 988 GLuint tex2D; in init() 992 glGenTextures(1, &tex2D); in init() 993 glBindTexture(GL_TEXTURE_2D, tex2D); in init() 1004 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, tex2D, 0); in init() 1010 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, -1); in init() 1013 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, maxSize); in init() 1026 …amebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, tex2D, 0); in init() 1028 glDeleteTextures(1, &tex2D); in init() 1241 deUint32 tex2D; in init() 1246 glGenTextures (1, &tex2D); in init() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fFboApiTest.cpp | 206 deUint32 tex2D = 1; in validTex2DAttachmentsTest() local 207 context.bindTexture(GL_TEXTURE_2D, tex2D); in validTex2DAttachmentsTest() 210 context.framebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_TEXTURE_2D, tex2D, 0); in validTex2DAttachmentsTest() 273 deUint32 tex2D = 1; in attachToDefaultFramebufferTest() local 274 context.bindTexture(GL_TEXTURE_2D, tex2D); in attachToDefaultFramebufferTest() 275 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, 0); in attachToDefaultFramebufferTest() 292 deUint32 tex2D = 1; in invalidTex2DAttachmentTest() local 293 context.bindTexture(GL_TEXTURE_2D, tex2D); in invalidTex2DAttachmentTest() 294 …amebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, tex2D, 0); in invalidTex2DAttachmentTest() 298 context.deleteTextures(1, &tex2D); in invalidTex2DAttachmentTest() [all …]
|
D | es2fNegativeBufferApiTests.cpp | 318 GLuint tex2D; in init() 322 glGenTextures(1, &tex2D); in init() 323 glBindTexture(GL_TEXTURE_2D, tex2D); in init() 334 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, tex2D, 0); in init() 347 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, 3); in init() 360 …amebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, tex2D, 0); in init() 362 glDeleteTextures(1, &tex2D); in init()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderRenderCase.hpp | 88 TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler); 95 void setTexture (const glu::Texture2D* tex2D); 102 …::Texture2D* get2D (void) const { DE_ASSERT(getType() == TYPE_2D); return m_binding.tex2D; } in get2D() 112 const glu::Texture2D* tex2D; member 134 const tcu::Texture2D* tex2D; member 140 : tex2D (DE_NULL) in ShaderSampler()
|
D | glsShaderRenderCase.cpp | 69 TextureBinding::TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler) in TextureBinding() argument 73 m_binding.tex2D = tex2D; in TextureBinding() 100 m_binding.tex2D = DE_NULL; in TextureBinding() 108 void TextureBinding::setTexture (const glu::Texture2D* tex2D) in setTexture() argument 111 m_binding.tex2D = tex2D; in setTexture() 283 case TextureBinding::TYPE_2D: textures[ndx].tex2D = &binding.get2D()->getRefTexture(); break; in ShaderEvalContext() 316 if (textures[unitNdx].tex2D) in texture2D() 317 …return textures[unitNdx].tex2D->sample(textures[unitNdx].sampler, texCoords.x(), texCoords.y(), 0.… in texture2D()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderRenderCase.hpp | 106 TextureBinding(const glu::Texture2D* tex2D, const tcu::Sampler& sampler); 114 void setTexture(const glu::Texture2D* tex2D); 131 return m_binding.tex2D; in get2D() 158 const glu::Texture2D* tex2D; member 181 const tcu::Texture2D* tex2D; member 188 : tex2D(DE_NULL), texCube(DE_NULL), tex2DArray(DE_NULL), tex3D(DE_NULL), texCubeArray(DE_NULL) in ShaderSampler()
|
D | glcShaderRenderCase.cpp | 78 TextureBinding::TextureBinding(const glu::Texture2D* tex2D, const tcu::Sampler& sampler) in TextureBinding() argument 81 m_binding.tex2D = tex2D; in TextureBinding() 104 m_binding.tex2D = DE_NULL; in TextureBinding() 118 void TextureBinding::setTexture(const glu::Texture2D* tex2D) in setTexture() argument 121 m_binding.tex2D = tex2D; in setTexture() 339 textures[ndx].tex2D = &binding.get2D()->getRefTexture(); in ShaderEvalContext() 382 if (textures[unitNdx].tex2D) in texture2D() 383 …return textures[unitNdx].tex2D->sample(textures[unitNdx].sampler, texCoords.x(), texCoords.y(), 0.… in texture2D()
|
/third_party/ffmpeg/compat/cuda/ |
D | cuda_runtime.h | 137 inline __device__ T tex2D(cudaTextureObject_t texObject, float x, float y) 149 inline __device__ float4 tex2D<float4>(cudaTextureObject_t texObject, float x, float y) 159 inline __device__ float tex2D<float>(cudaTextureObject_t texObject, float x, float y) 161 return tex2D<float4>(texObject, x, y).x; 165 inline __device__ float2 tex2D<float2>(cudaTextureObject_t texObject, float x, float y) 167 float4 ret = tex2D<float4>(texObject, x, y);
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/frag/ |
D | separate-combined-fake-overload.sm30.frag | 13 FragColor = tex2D(uSamp, 0.5f.xx) + tex2D(SPIRV_Cross_CombineduTuS, 0.5f.xx);
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/frag/ |
D | separate-combined-fake-overload.sm30.frag | 13 return tex2D(uSamp_1, 0.5f.xx); 18 return tex2D(SPIRV_Cross_CombinedTS, 0.5f.xx);
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DiscardFramebufferEXTTest.cpp | 70 GLuint tex2D; in TEST_P() local 75 glGenTextures(1, &tex2D); in TEST_P() 77 glBindTexture(GL_TEXTURE_2D, tex2D); in TEST_P() 83 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, 0); in TEST_P()
|
D | MultiviewDrawTest.cpp | 605 GLTexture tex2D; in TEST_P() local 606 initOnePixelColorTexture2DSingleLayered(tex2D); in TEST_P() 608 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2D, 0, 0, 1); in TEST_P() 657 GLTexture tex2D; in TEST_P() local 658 initOnePixelColorTexture2DSingleLayered(tex2D); in TEST_P() 661 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2D, 0, 0, 1); in TEST_P() 827 GLTexture tex2D; in TEST_P() local 828 initOnePixelColorTexture2DSingleLayered(tex2D); in TEST_P() 833 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2D, 0, 0, 1); in TEST_P() 893 GLTexture tex2D; in TEST_P() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.hpp | 130 TextureBinding (const tcu::Texture2D* tex2D, const tcu::Sampler& sampler); 143 …d) const { DE_ASSERT(getType() == TYPE_2D && m_binding.tex2D != NULL); return *m_binding.tex2D… in get2D() 166 const tcu::Texture2D* tex2D; member 193 const tcu::Texture2D* tex2D; member 202 , tex2D (DE_NULL) in ShaderSampler()
|