Home
last modified time | relevance | path

Searched refs:ivec4 (Results 1 – 10 of 10) sorted by relevance

/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DEtc2ShaderLib.comp32 const ivec4 kRGBModifierTable[] = {
42 const ivec4 kRGBOpaqueModifierTable[] = {
52 const ivec4 kAlphaModifierTable[] = {
103 ivec4[16] etc2_T_H_index(ivec3[4] clrTable, uint low, bool isPunchthroughAlpha, bool opaque) {
104 ivec4 ret[16];
112 ret[y * 4 + x] = ivec4(0, 0, 0, 0);
115 ret[y * 4 + x] = ivec4(clrTable[offset], 255);
122 ivec4[16] etc2_decode_block_T(uint high, uint low, bool isPunchthroughAlpha, bool opaque) {
144 ivec4[16] etc2_decode_block_H(uint high, uint low, bool isPunchthroughAlpha, bool opaque) {
167 ivec4[16] etc2_decode_block_P(uint high, uint low, bool isPunchthroughAlpha) {
[all …]
DAstc.comp263 void swap(inout ivec4 v1, inout ivec4 v2) {
264 ivec4 tmp = v1;
277 void blue_contract(inout ivec4 val) {
292 ivec4 endpoint_low_rgba;
293 ivec4 endpoint_high_rgba;
296 endpoint_low_rgba = ivec4(v0, v0, v0, 255);
297 endpoint_high_rgba = ivec4(v1, v1, v1, 255);
304 endpoint_low_rgba = ivec4(l0, l0, l0, 255);
305 endpoint_high_rgba = ivec4(l1, l1, l1, 255);
309 endpoint_low_rgba = ivec4(v0, v0, v0, v2);
[all …]
DEtc2RGB8.comp32 ivec4 srcBlock = ivec4(imageLoad(u_image0, WITH_TYPE(getPos)(pos)));
37 ivec4[16] decompressed =
DEtc2RGBA8.comp37 ivec4[16] decompressed =
43 ivec4(decompressed[y * 4 + x].rgb, decompressedAlpha[y * 4 + x]));
DAstcDecompressor.glsl268 const ivec4 deltas = {2, 4, 5, 7};
455 ivec4 blueContract(ivec4 v) { return ivec4((v.r + v.b) >> 1, (v.g + v.b) >> 1, v.ba); }
459 void bitTransferSigned(inout ivec4 a, inout ivec4 b) {
474 void decodeEndpoints(ivec4 vA, ivec4 vB, uint mode, out uvec4 ep0, out uvec4 ep1) {
573 ivec4 numBits = int(bits) - ivec4(96, 64, 32, 0);
574 uvec4 mask = (uvec4(1) << clamp(numBits, ivec4(0), ivec4(31))) - 1;
618 ivec4 vA = ivec4(0); // holds what the spec calls v0, v2, v4 and v6
619 ivec4 vB = ivec4(0); // holds what the spec calls v1, v3, v5 and v7
DAstcNew.comp268 const ivec4 deltas = {2, 4, 5, 7};
455 ivec4 blueContract(ivec4 v) { return ivec4((v.r + v.b) >> 1, (v.g + v.b) >> 1, v.ba); }
459 void bitTransferSigned(inout ivec4 a, inout ivec4 b) {
474 void decodeEndpoints(ivec4 vA, ivec4 vB, uint mode, out uvec4 ep0, out uvec4 ep1) {
573 ivec4 numBits = int(bits) - ivec4(96, 64, 32, 0);
574 uvec4 mask = (uvec4(1) << clamp(numBits, ivec4(0), ivec4(31))) - 1;
618 ivec4 vA = ivec4(0); // holds what the spec calls v0, v2, v4 and v6
619 ivec4 vB = ivec4(0); // holds what the spec calls v1, v3, v5 and v7
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dtype_vec.hpp499 typedef lowp_ivec4 ivec4; typedef
503 typedef mediump_ivec4 ivec4; typedef
518 typedef highp_ivec4 ivec4; typedef
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dpacking.hpp318 GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const & v);
329 GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p);
Dpacking.inl513 GLM_FUNC_QUALIFIER uint32 packI3x10_1x2(ivec4 const & v)
523 GLM_FUNC_QUALIFIER ivec4 unpackI3x10_1x2(uint32 v)
527 return ivec4(
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dtype_aligned.hpp251 GLM_ALIGNED_TYPEDEF(ivec4, aligned_ivec4, 16);