Home
last modified time | relevance | path

Searched refs:isPunchthroughAlpha (Results 1 – 4 of 4) sorted by relevance

/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) {
110 if (isPunchthroughAlpha && (!opaque) && (msb != 0) && (lsb == 0)) {
122 ivec4[16] etc2_decode_block_T(uint high, uint low, bool isPunchthroughAlpha, bool opaque) {
141 return etc2_T_H_index(clrTable, low, isPunchthroughAlpha, opaque);
144 ivec4[16] etc2_decode_block_H(uint high, uint low, bool isPunchthroughAlpha, bool opaque) {
164 return etc2_T_H_index(clrTable, low, isPunchthroughAlpha, opaque);
167 ivec4[16] etc2_decode_block_P(uint high, uint low, bool isPunchthroughAlpha) {
189 bool flipped, bool isPunchthroughAlpha, bool opaque) {
212 if (isPunchthroughAlpha && (!opaque) && (msb != 0) && (lsb == 0)) {
232 ivec4[16] etc2_decode_rgb_block(uint high, uint low, bool isPunchthroughAlpha) {
[all …]
DEtc2RGB8.comp34 bool isPunchthroughAlpha = (u_pushConstant.compFormat == VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK ||
39 constructUint32(srcBlock[2], srcBlock[3]), isPunchthroughAlpha);
/hardware/google/gfxstream/common/etc/
Detc.cpp224 etc1_uint32 low, bool second, bool flipped, bool isPunchthroughAlpha, in decode_subblock() argument
228 int channels = isPunchthroughAlpha ? 4 : 3; in decode_subblock()
249 if (isPunchthroughAlpha && !opaque && msb && !lsb) { in decode_subblock()
259 if (isPunchthroughAlpha) { in decode_subblock()
267 bool isPunchthroughAlpha, bool opaque, in etc2_T_H_index() argument
275 if (isPunchthroughAlpha && !opaque && msb && !lsb) { in etc2_T_H_index()
284 if (isPunchthroughAlpha) { in etc2_T_H_index()
297 bool isPunchthroughAlpha, bool opaque, etc1_byte* pOut) { in etc2_decode_block_T() argument
322 etc2_T_H_index(clrTable, low, isPunchthroughAlpha, opaque, pOut); in etc2_decode_block_T()
326 bool isPunchthroughAlpha, bool opaque, etc1_byte* pOut) { in etc2_decode_block_H() argument
[all …]
/hardware/google/gfxstream/common/etc/include/gfxstream/
Detc.h65 void etc2_decode_rgb_block(const etc1_byte* pIn, bool isPunchthroughAlpha, etc1_byte* pOut);