Home
last modified time | relevance | path

Searched refs:uvec4 (Results 1 – 18 of 18) sorted by relevance

/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DAstcDecompressor.glsl7 // uvec4 astcBlock = ... // read an ASTC block
10 // uvec4 texel = astcDecodeTexel(pos);
53 const uvec4 kErrorColor = uvec4(255, 0, 255, 255); // beautiful magenta, as per the spec
57 uvec4 astcBlock; // Full ASTC block data
80 void astcDecoderInitialize(uvec4 blockData, uvec2 blockSize_) {
169 // Extracts a range of bits from a uvec4, treating it as a single 128-bit field.
173 uint extractBits(uvec4 data, uint offset, uint numBits) {
246 uint decodeTrit(uvec4 data, uint offset, uint numBits, uint i) {
281 uint decodeQuint(uvec4 data, uint offset, uint numBits, uint i) {
301 uint decode1Weight(uvec4 weightData, uvec3 encoding, uint numWeights, uint index) {
[all …]
DAstcNew.comp7 // uvec4 astcBlock = ... // read an ASTC block
10 // uvec4 texel = astcDecodeTexel(pos);
53 const uvec4 kErrorColor = uvec4(255, 0, 255, 255); // beautiful magenta, as per the spec
57 uvec4 astcBlock; // Full ASTC block data
80 void astcDecoderInitialize(uvec4 blockData, uvec2 blockSize_) {
169 // Extracts a range of bits from a uvec4, treating it as a single 128-bit field.
173 uint extractBits(uvec4 data, uint offset, uint numBits) {
246 uint decodeTrit(uvec4 data, uint offset, uint numBits, uint i) {
281 uint decodeQuint(uvec4 data, uint offset, uint numBits, uint i) {
301 uint decode1Weight(uvec4 weightData, uvec3 encoding, uint numWeights, uint index) {
[all …]
DAstc.comp149 uint bits128(uvec4 u, uint bitStart, uint bitCount) {
163 uint bits128fillZeros(uvec4 u, uint bitStart, uint bitEnd, uint bitCount) {
191 uint[5] decode_trit(uvec4 data, uint start, uint end, uint n) {
217 uint[3] decode_quint(uvec4 data, uint start, uint end, uint n) {
282 void decode_ldr_for_mode(const uint[40] vals, uint start_idx, uint mode, out uvec4 c1,
283 out uvec4 c2) {
413 c1 = uvec4(endpoint_low_rgba);
414 c2 = uvec4(endpoint_high_rgba);
514 uvec4[144] single_color_block(uvec4 color) {
515 uvec4 ret[144];
[all …]
DAstcToRgb.comp25 uvec4 astcBlock = imageLoad(srcImage, WITH_TYPE(getPos)(ivec3(blockPos, layer))).wzyx;
27 uvec4 texel = astcDecodeTexel(posInBlock);
DEtc2RGBA8.comp32 uvec4 srcBlock = uvec4(imageLoad(u_image0, WITH_TYPE(getPos)(pos)));
DEacR11Snorm.comp32 uvec4 srcBlock = imageLoad(u_image0, WITH_TYPE(getPos)(pos));
DEacR11Unorm.comp32 uvec4 srcBlock = imageLoad(u_image0, WITH_TYPE(getPos)(pos));
DEacRG11Snorm.comp32 uvec4 srcBlock = imageLoad(u_image0, WITH_TYPE(getPos)(pos));
DEacRG11Unorm.comp32 uvec4 srcBlock = imageLoad(u_image0, WITH_TYPE(getPos)(pos));
DAstcToBc3.comp87 uvec4 decodeRGBA(uvec2 texelPos, uint layer) {
234 uvec4 currentTexel = decodeRGBA(texelCoord, layer);
252 uvec4 result;
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dtype_vec.hpp526 typedef lowp_uvec4 uvec4; typedef
530 typedef mediump_uvec4 uvec4; typedef
545 typedef highp_uvec4 uvec4; typedef
/hardware/google/gfxstream/host/vulkan/
DCompositor.vert7 uvec4 mode;
DCompositor.frag8 uvec4 mode;
DCompositorVk.h89 alignas(16) glm::uvec4 mode;
DCompositorVk.cpp1052 .mode = glm::uvec4(static_cast<uint32_t>(layer.props.composeMode), 0, 0, 0), in buildCompositionVk()
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dpacking.hpp342 GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const & v);
353 GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p);
Dpacking.inl534 GLM_FUNC_QUALIFIER uint32 packU3x10_1x2(uvec4 const & v)
544 GLM_FUNC_QUALIFIER uvec4 unpackU3x10_1x2(uint32 v)
548 return uvec4(
579 uvec4 const Unpack(round(clamp(v, 0.0f, 1.0f) * vec4(1023.f, 1023.f, 1023.f, 3.f)));
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dtype_aligned.hpp543 GLM_ALIGNED_TYPEDEF(uvec4, aligned_uvec4, 16);