Home
last modified time | relevance | path

Searched refs:textureOffset (Results 1 – 25 of 69) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
DCopySplitTests.cpp71 …bool overlapX = RangesOverlap(a.textureOffset.x, a.textureOffset.x + a.copySize.width, b.textureOf… in ValidateDisjoint()
72 …ool overlapY = RangesOverlap(a.textureOffset.y, a.textureOffset.y + a.copySize.height, b.textureOf… in ValidateDisjoint()
73 …bool overlapZ = RangesOverlap(a.textureOffset.z, a.textureOffset.z + a.copySize.depth, b.textureOf… in ValidateDisjoint()
83 uint32_t minX = copySplit.copies[0].textureOffset.x; in ValidateTextureBounds()
84 uint32_t minY = copySplit.copies[0].textureOffset.y; in ValidateTextureBounds()
85 uint32_t minZ = copySplit.copies[0].textureOffset.z; in ValidateTextureBounds()
86 uint32_t maxX = copySplit.copies[0].textureOffset.x + copySplit.copies[0].copySize.width; in ValidateTextureBounds()
87 uint32_t maxY = copySplit.copies[0].textureOffset.y + copySplit.copies[0].copySize.height; in ValidateTextureBounds()
88 uint32_t maxZ = copySplit.copies[0].textureOffset.z + copySplit.copies[0].copySize.depth; in ValidateTextureBounds()
92 minX = std::min(minX, copy.textureOffset.x); in ValidateTextureBounds()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
DCopySplitTests.cpp129 a.textureOffset.x, a.textureOffset.x + a.copySize.width - 1, b.textureOffset.x, in ValidateDisjoint()
130 b.textureOffset.x + b.copySize.width - 1); in ValidateDisjoint()
132 a.textureOffset.y, a.textureOffset.y + a.copySize.height - 1, b.textureOffset.y, in ValidateDisjoint()
133 b.textureOffset.y + b.copySize.height - 1); in ValidateDisjoint()
135 a.textureOffset.z, a.textureOffset.z + a.copySize.depthOrArrayLayers - 1, in ValidateDisjoint()
136 b.textureOffset.z, b.textureOffset.z + b.copySize.depthOrArrayLayers - 1); in ValidateDisjoint()
147 uint32_t minX = copySplit.copies[0].textureOffset.x; in ValidateTextureBounds()
148 uint32_t minY = copySplit.copies[0].textureOffset.y; in ValidateTextureBounds()
149 uint32_t minZ = copySplit.copies[0].textureOffset.z; in ValidateTextureBounds()
150 uint32_t maxX = copySplit.copies[0].textureOffset.x + copySplit.copies[0].copySize.width; in ValidateTextureBounds()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureCopySplitter.cpp73 copy.copies[0].textureOffset = origin; in Compute2DTextureCopySubresource()
139 copy.copies[0].textureOffset = origin; in Compute2DTextureCopySubresource()
187 copy.copies[0].textureOffset = origin; in Compute2DTextureCopySubresource()
210 copy.copies[1].textureOffset.x = origin.x + copy.copies[0].copySize.width; in Compute2DTextureCopySubresource()
211 copy.copies[1].textureOffset.y = origin.y; in Compute2DTextureCopySubresource()
212 copy.copies[1].textureOffset.z = origin.z; in Compute2DTextureCopySubresource()
384 copy1->textureOffset.y += copySize.height - blockInfo.height; in Recompute3DTextureCopyRegionWithEmptyFirstRowAndEvenCopyHeight()
408 copy2->textureOffset = copy1->textureOffset; in Recompute3DTextureCopyRegionWithEmptyFirstRowAndEvenCopyHeight()
409 copy2->textureOffset.z = origin.z + copySize.depthOrArrayLayers - 1; in Recompute3DTextureCopyRegionWithEmptyFirstRowAndEvenCopyHeight()
445 copy1->textureOffset.z++; in Recompute3DTextureCopyRegionWithEmptyFirstRowAndOddCopyHeight()
DUtilsD3D12.cpp172 commandList->CopyTextureRegion(&textureLocation, info.textureOffset.x, in RecordCopyBufferToTextureFromTextureCopySplit()
173 info.textureOffset.y, info.textureOffset.z, in RecordCopyBufferToTextureFromTextureCopySplit()
289 ComputeD3D12BoxFromOffsetAndSize(info.textureOffset, info.copySize); in RecordCopyTextureToBufferFromTextureCopySplit()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureCopySplitter.cpp55 copy.copies[0].textureOffset = origin; in ComputeTextureCopySplit()
104 copy.copies[0].textureOffset = origin; in ComputeTextureCopySplit()
152 copy.copies[0].textureOffset = origin; in ComputeTextureCopySplit()
165 copy.copies[1].textureOffset.x = origin.x + copy.copies[0].copySize.width; in ComputeTextureCopySplit()
166 copy.copies[1].textureOffset.y = origin.y; in ComputeTextureCopySplit()
167 copy.copies[1].textureOffset.z = origin.z; in ComputeTextureCopySplit()
DCommandBufferD3D12.cpp552 commandList->CopyTextureRegion(&textureLocation, info.textureOffset.x, in RecordCommands()
553 info.textureOffset.y, info.textureOffset.z, in RecordCommands()
593 sourceRegion.left = info.textureOffset.x; in RecordCommands()
594 sourceRegion.top = info.textureOffset.y; in RecordCommands()
595 sourceRegion.front = info.textureOffset.z; in RecordCommands()
596 sourceRegion.right = info.textureOffset.x + info.copySize.width; in RecordCommands()
597 sourceRegion.bottom = info.textureOffset.y + info.copySize.height; in RecordCommands()
598 sourceRegion.back = info.textureOffset.z + info.copySize.depth; in RecordCommands()
DTextureCopySplitter.h34 Origin3D textureOffset; member
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/texture/texel_offset/
Dtexel_offset.amber25 mask |= textureOffset(tex, base, ivec2(0, -1)).g < base.y ? 1 : 0;
26 mask |= textureOffset(tex, base, ivec2(0, 1)).g > base.y ? 2 : 0;
27 mask |= textureOffset(tex, base, ivec2(-1, 0)).r < base.x ? 4 : 0;
28 mask |= textureOffset(tex, base, ivec2(1, 0)).r > base.x ? 8 : 0;
/third_party/glslang/Test/baseResults/
Dhlsl.sample.offset.dx10.frag.out12 0:31 textureOffset ( temp 4-component vector of float)
23 0:32 textureOffset ( temp 4-component vector of int)
34 0:33 textureOffset ( temp 4-component vector of uint)
45 0:35 textureOffset ( temp 4-component vector of float)
58 0:36 textureOffset ( temp 4-component vector of int)
71 0:37 textureOffset ( temp 4-component vector of uint)
84 0:39 textureOffset ( temp 4-component vector of float)
99 0:40 textureOffset ( temp 4-component vector of int)
114 0:41 textureOffset ( temp 4-component vector of uint)
196 0:31 textureOffset ( temp 4-component vector of float)
[all …]
Dhlsl.samplebias.offset.dx10.frag.out12 0:31 textureOffset ( temp 4-component vector of float)
25 0:32 textureOffset ( temp 4-component vector of int)
38 0:33 textureOffset ( temp 4-component vector of uint)
51 0:35 textureOffset ( temp 4-component vector of float)
66 0:36 textureOffset ( temp 4-component vector of int)
81 0:37 textureOffset ( temp 4-component vector of uint)
96 0:39 textureOffset ( temp 4-component vector of float)
113 0:40 textureOffset ( temp 4-component vector of int)
130 0:41 textureOffset ( temp 4-component vector of uint)
214 0:31 textureOffset ( temp 4-component vector of float)
[all …]
Dhlsl.sample.offsetarray.dx10.frag.out12 0:23 textureOffset ( temp 4-component vector of float)
24 0:24 textureOffset ( temp 4-component vector of int)
36 0:25 textureOffset ( temp 4-component vector of uint)
48 0:27 textureOffset ( temp 4-component vector of float)
62 0:28 textureOffset ( temp 4-component vector of int)
76 0:29 textureOffset ( temp 4-component vector of uint)
151 0:23 textureOffset ( temp 4-component vector of float)
163 0:24 textureOffset ( temp 4-component vector of int)
175 0:25 textureOffset ( temp 4-component vector of uint)
187 0:27 textureOffset ( temp 4-component vector of float)
[all …]
Dhlsl.samplebias.offsetarray.dx10.frag.out12 0:23 textureOffset ( temp 4-component vector of float)
26 0:24 textureOffset ( temp 4-component vector of int)
40 0:25 textureOffset ( temp 4-component vector of uint)
54 0:27 textureOffset ( temp 4-component vector of float)
70 0:28 textureOffset ( temp 4-component vector of int)
86 0:29 textureOffset ( temp 4-component vector of uint)
163 0:23 textureOffset ( temp 4-component vector of float)
177 0:24 textureOffset ( temp 4-component vector of int)
191 0:25 textureOffset ( temp 4-component vector of uint)
205 0:27 textureOffset ( temp 4-component vector of float)
[all …]
Dhlsl.samplecmp.offset.dx10.frag.out12 0:42 textureOffset ( temp float)
26 0:43 textureOffset ( temp float)
40 0:44 textureOffset ( temp float)
54 0:47 textureOffset ( temp float)
70 0:48 textureOffset ( temp float)
86 0:49 textureOffset ( temp float)
177 0:42 textureOffset ( temp float)
191 0:43 textureOffset ( temp float)
205 0:44 textureOffset ( temp float)
219 0:47 textureOffset ( temp float)
[all …]
Dhlsl.samplecmp.offsetarray.dx10.frag.out12 0:42 textureOffset ( temp float)
27 0:43 textureOffset ( temp float)
42 0:44 textureOffset ( temp float)
57 0:47 textureOffset ( temp float)
74 0:48 textureOffset ( temp float)
91 0:49 textureOffset ( temp float)
183 0:42 textureOffset ( temp float)
198 0:43 textureOffset ( temp float)
213 0:44 textureOffset ( temp float)
228 0:47 textureOffset ( temp float)
[all …]
/third_party/vk-gl-cts/data/gles3/shaders/
Dinvalid_texture_functions.test246 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec2(0)));
265 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec2(0)));
284 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec2(0)));
303 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0)));
322 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0)));
341 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0)));
360 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec2(0), float(0)));
379 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0), float(0)));
398 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0)));
417 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0), float(0)));
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferMAXSizeValidation.cpp186 glw::GLint textureOffset = -1; in iterate() local
188 …lParameteriv(m_glExtTokens.TEXTURE_BUFFER, 0, m_glExtTokens.TEXTURE_BUFFER_OFFSET, &textureOffset); in iterate()
194 if (expectedOffset != textureOffset) in iterate()
198 << "Result GL_TEXTURE_BUFFER_OFFSET_EXT parameter value : " << textureOffset << "\n" in iterate()
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/frag/
Dsample-cmp-level-zero.frag14 float s0 = textureOffset(uSampler2D, vUVRef, ivec2(-1));
15 float s1 = textureOffset(uSampler2DArray, vDirRef, ivec2(-1));
Dtex-sampling.frag31 texcolor += textureOffset(tex1d, texCoord1d, 1);
38 texcolor += textureOffset(tex2d, texCoord2d, ivec2(1, 2));
45 texcolor += textureOffset(tex3d, texCoord3d, ivec3(1, 2, 3));
/third_party/glslang/Test/
Dspv.float16Fetch.frag191 texel += textureOffset(s1D, c1, offset1);
192 texel += textureOffset(s1D, f16c1, offset1, f16bias);
193 texel += textureOffset(s2D, c2, offset2);
194 texel += textureOffset(s2D, f16c2, offset2, f16bias);
195 texel += textureOffset(s3D, c3, offset3);
196 texel += textureOffset(s3D, f16c3, offset3, f16bias);
197 texel += textureOffset(s2DRect, c2, offset2);
198 texel += textureOffset(s2DRect, f16c2, offset2);
199 texel.x += textureOffset(s2DRectShadow, c3, offset2);
200 texel.x += textureOffset(s2DRectShadow, f16c2, compare, offset2);
[all …]
D300.frag60 f = textureOffset(s2DShadow, c3D, ic2D, c1D); // ERROR, offset argument not constant
128 textureOffset(s2DShadow, c3D, ivec2(-8, 7), c1D);
129 textureOffset(s2DShadow, c3D, ivec2(-9, 8), c1D);
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/asm/frag/
Dcombined-sampler-reuse.vk.asm.frag11 FragColor += textureOffset(SPIRV_Cross_CombineduTexuSampler, vUV, ivec2(1));
Dcombined-sampler-reuse.vk.asm.frag.vk12 FragColor += textureOffset(sampler2D(uTex, uSampler), vUV, ivec2(1));
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/asm/frag/
Dcombined-sampler-reuse.vk.asm.frag11 FragColor += textureOffset(SPIRV_Cross_CombineduTexuSampler, vUV, ivec2(1));
Dcombined-sampler-reuse.vk.asm.frag.vk12 FragColor += textureOffset(sampler2D(uTex, uSampler), vUV, ivec2(1));
/third_party/openGLES/extensions/EXT/
DEXT_texture_shadow_lod.txt99 float textureOffset(sampler2DArrayShadow sampler, vec4 P, ivec2 offset [, float bias])
128 There is no support for Cube samplers and textureOffset family of
146 textureOffset() with sampler2DArrayShadow; does this mean only the optional

123