Home
last modified time | relevance | path

Searched refs:clrTable (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/common/etc/
Detc.cpp266 static void etc2_T_H_index(const int* clrTable, etc1_uint32 low, in etc2_T_H_index() argument
282 *q++ = clrTable[offset*3 + c]; in etc2_T_H_index()
309 int clrTable[12]; in etc2_decode_block_T() local
310 clrTable[0] = r1; in etc2_decode_block_T()
311 clrTable[1] = g1; in etc2_decode_block_T()
312 clrTable[2] = b1; in etc2_decode_block_T()
313 clrTable[3] = clamp(r2 + intenseMod); in etc2_decode_block_T()
314 clrTable[4] = clamp(g2 + intenseMod); in etc2_decode_block_T()
315 clrTable[5] = clamp(b2 + intenseMod); in etc2_decode_block_T()
316 clrTable[6] = r2; in etc2_decode_block_T()
[all …]
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DEtc2ShaderLib.comp103 ivec4[16] etc2_T_H_index(ivec3[4] clrTable, uint low, bool isPunchthroughAlpha, bool opaque) {
115 ret[y * 4 + x] = ivec4(clrTable[offset], 255);
134 ivec3 clrTable[4];
135 clrTable[0] = ivec3(r1, g1, b1);
136 clrTable[1] = ivec3(_clamp(int(r2) + intenseMod), _clamp(int(g2) + intenseMod),
138 clrTable[2] = ivec3(r2, g2, b2);
139 clrTable[3] = ivec3(_clamp(int(r2) - intenseMod), _clamp(int(g2) - intenseMod),
141 return etc2_T_H_index(clrTable, low, isPunchthroughAlpha, opaque);
159 ivec3 clrTable[4];
160 clrTable[0] = _clamp(ivec3(rgb1) + intenseMod);
[all …]