Home
last modified time | relevance | path

Searched refs:uvec2 (Results 1 – 14 of 14) sorted by relevance

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_QCOM_image_processing2.adoc67 uvec2 targetCoord,
69 uvec2 refCoord,
70 uvec2 blocksize) {
72 // uvec2 window comes from the vkSampler associated with `target`
75 uvec2 minCoord;
76 uvec2 maxCoord;
81 targetCoord + uvec2(x, y),
89 minCoord = uvec2(x,y);
93 maxCoord = uvec2(x,y);
112 uvec2 targetCoord,
[all …]
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DAstcToRgb.comp10 uvec2 blockSize;
20 uvec2 texelPos = gl_GlobalInvocationID.xy;
22 uvec2 blockPos = texelPos / u_pushConstant.blockSize;
23 uvec2 posInBlock = texelPos % u_pushConstant.blockSize;
DAstcDecompressor.glsl9 // uvec2 posInBlock = uvec2(0, 0); // which texel we want to decode in the block
58 uvec2 blockSize; // Size of the ASTC block
62 uvec2 weightGridSize; // Width and height of the weight grid. Always <= blockSize.
75 uvec2 tqBits = (numVals * encoding.xy * uvec2(8, 7) + uvec2(4, 2)) / uvec2(5, 3);
80 void astcDecoderInitialize(uvec4 blockData, uvec2 blockSize_) {
103 weightGridSize = uvec2(12, bits56 + 2);
106 weightGridSize = uvec2(bits56 + 2, 12);
109 weightGridSize = uvec2(bits56 + 6, bitfieldExtract(astcBlock[3], 9, 2) + 6);
115 weightGridSize = uvec2(6, 10);
117 weightGridSize = uvec2(10, 6);
[all …]
DAstcNew.comp9 // uvec2 posInBlock = uvec2(0, 0); // which texel we want to decode in the block
58 uvec2 blockSize; // Size of the ASTC block
62 uvec2 weightGridSize; // Width and height of the weight grid. Always <= blockSize.
75 uvec2 tqBits = (numVals * encoding.xy * uvec2(8, 7) + uvec2(4, 2)) / uvec2(5, 3);
80 void astcDecoderInitialize(uvec4 blockData, uvec2 blockSize_) {
103 weightGridSize = uvec2(12, bits56 + 2);
106 weightGridSize = uvec2(bits56 + 2, 12);
109 weightGridSize = uvec2(bits56 + 6, bitfieldExtract(astcBlock[3], 9, 2) + 6);
115 weightGridSize = uvec2(6, 10);
117 weightGridSize = uvec2(10, 6);
[all …]
DAstcToBc3.comp80 uvec2 blockSize;
87 uvec4 decodeRGBA(uvec2 texelPos, uint layer) {
88 uvec2 blockPos = texelPos / u_pushConstant.blockSize;
89 uvec2 posInBlock = texelPos % u_pushConstant.blockSize;
184 uvec2 indices = uvec2(distance == minDistance ? gl_SubgroupInvocationID : 0,
186 uvec2 minMaxIndex = subgroupClusteredMax(indices, 16);
194 uvec2 encodeAlpha(uint value, uint texelId) {
205 uvec2 mask = uvec2(texelId < 5 ? 0 : (index << 29) >> (-3 * texelId + 45),
207 uvec2 packed = subgroupClusteredOr(mask, 16);
208 return uvec2((maxValue & 0xff) | ((minValue & 0xff) << 8) | packed[1], packed[0]);
[all …]
DAstc.comp30 uvec2 blockSize;
834 uvec2 dst = (1024 + u_pushConstant.blockSize / 2) / (u_pushConstant.blockSize - 1);
845 uvec2 st = uvec2(w, h);
846 uvec2 cst = dst * st;
847 uvec2 gst = (cst * (uvec2(width, height) - 1) + 32) >> 6;
848 uvec2 jst = gst >> 4;
849 uvec2 fst = gst & 0xf;
851 uvec2 p00 = uvec2(weightGrid[v0 * dd], weightGrid[v0 * dd + 1]);
852 uvec2 p01 = uvec2(weightGrid[(v0 + 1) * dd], weightGrid[(v0 + 1) * dd + 1]);
853 uvec2 p10 = uvec2(weightGrid[(v0 + width) * dd], weightGrid[(v0 + width) * dd + 1]);
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_packing.hpp134 GLM_FUNC_DECL double packDouble2x32(uvec2 const & v);
143 GLM_FUNC_DECL uvec2 unpackDouble2x32(double v);
Dtype_vec.hpp524 typedef lowp_uvec2 uvec2; typedef
528 typedef mediump_uvec2 uvec2; typedef
535 typedef highp_uvec2 uvec2; typedef
Dfunc_packing.inl130 GLM_FUNC_QUALIFIER double packDouble2x32(uvec2 const & v)
144 GLM_FUNC_QUALIFIER uvec2 unpackDouble2x32(double v)
154 return uvec2(u.out[0], u.out[1]);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_QCOM_image_processing.adoc213 | uvec2 targetCoord, | block and reference block. TargetCoord |
215 | uvec2 refCoord, | of the block in target and reference |
216 | uvec2 blockSize) | images. The error metric is the Sum of |
221 | uvec2 targetCoord, | block and reference block. TargetCoord |
223 | uvec2 refCoord, | of the block in target and reference |
224 | uvec2 blockSize) | images. The error metric is the Sum of |
DVK_EXT_mesh_shader.adoc442 out uvec2 gl_PrimitiveLineIndicesEXT[];
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dtype_aligned.hpp535 GLM_ALIGNED_TYPEDEF(uvec2, aligned_uvec2, 8);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dtextures.adoc3794 uvec2 targetCoord,
3796 uvec2 refCoord,
3797 uvec2 blocksize) {
3801 // uvec2 window (which defines the search window)
3805 uvec2 minCoord;
3806 uvec2 maxCoord;
3811 targetCoord + uvec2(x, y),
3817 minCoord = uvec2(x,y);
3821 maxCoord = uvec2(x,y);
3858 uvec2 targetCoord,
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NV_device_generated_commands/
Dindirectcommands.adoc106 basetype:VkDeviceAddress to be packed as code:uvec2 with scalar layout