Home
last modified time | relevance | path

Searched refs:alphatest (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h80 short alphatest[2] = { 0 }; in TAG() local
255 alphatest[0] = T_MAX; in TAG()
256 alphatest[1] = T_MIN; in TAG()
260 …if ((srccolors[j][i] > alphatest[1]) && (srccolors[j][i] < (T_MAX -(alphabase[1] - alphabase[0]) /… in TAG()
261 alphatest[1] = srccolors[j][i]; in TAG()
262 … if ((srccolors[j][i] < alphatest[0]) && (srccolors[j][i] > (alphabase[1] - alphabase[0]) / 28)) in TAG()
263 alphatest[0] = srccolors[j][i]; in TAG()
267 if (alphatest[1] <= alphatest[0]) { in TAG()
268 alphatest[0] = T_MIN+1; in TAG()
269 alphatest[1] = T_MAX-1; in TAG()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h575 GLshort alphatest[2]; in encodedxt5alpha() local
746 alphatest[0] = 0xff; in encodedxt5alpha()
747 alphatest[1] = 0x0; in encodedxt5alpha()
751 …if ((srccolors[j][i][3] > alphatest[1]) && (srccolors[j][i][3] < (255 -(alphabase[1] - alphabase[0… in encodedxt5alpha()
752 alphatest[1] = srccolors[j][i][3]; in encodedxt5alpha()
753 …if ((srccolors[j][i][3] < alphatest[0]) && (srccolors[j][i][3] > (alphabase[1] - alphabase[0]) / 2… in encodedxt5alpha()
754 alphatest[0] = srccolors[j][i][3]; in encodedxt5alpha()
758 if (alphatest[1] <= alphatest[0]) { in encodedxt5alpha()
759 alphatest[0] = 1; in encodedxt5alpha()
760 alphatest[1] = 254; in encodedxt5alpha()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target.h62 FixupData(bool force, bool flat, uint8_t alphatest) : in FixupData()
63 force_persample_interp(force), flatshade(flat), alphatest(alphatest) {} in FixupData()
66 uint8_t alphatest; member
Dnv50_ir_target.cpp498 uint8_t alphatest) in nv50_ir_apply_fixups() argument
506 nv50_ir::FixupData data(force_persample_interp, flatshade, alphatest); in nv50_ir_apply_fixups()
Dnv50_ir_driver.h227 uint8_t alphatest);
Dnv50_ir_emit_nv50.cpp1274 switch (data.alphatest) { in alphatestSet()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c195 if (fp->fp.alphatest || !blendable) { in nv50_fragprog_validate()
196 uint8_t alphatest = PIPE_FUNC_ALWAYS + 1; in nv50_fragprog_validate() local
198 alphatest = nv50->zsa->pipe.alpha.func + 1; in nv50_fragprog_validate()
199 if (!fp->fp.alphatest) in nv50_fragprog_validate()
201 else if (fp->mem && fp->fp.alphatest != alphatest) in nv50_fragprog_validate()
204 fp->fp.alphatest = alphatest; in nv50_fragprog_validate()
206 } else if (fp->fp.alphatest && fp->fp.alphatest != PIPE_FUNC_ALWAYS + 1) { in nv50_fragprog_validate()
214 fp->fp.alphatest = PIPE_FUNC_ALWAYS + 1; in nv50_fragprog_validate()
Dnv50_program.h92 uint8_t alphatest; member
Dnv50_program.c358 if (prog->fp.alphatest) in nv50_program_translate()
513 prog->fp.alphatest - 1); in nv50_program_upload_code()
/external/mesa3d/docs/relnotes/
D10.6.3.rst65 - nv50, nvc0: enable at least one color RT if alphatest is enabled
D7.11.rst252 [bisected SNB]piglit fbo/fbo-alphatest-nocolor failed
/external/mesa3d/.gitlab-ci/piglit/
Dquick_gl.txt1470 spec/ext_texture_srgb/fbo-alphatest-formats/gl_sluminance: skip
1471 spec/ext_texture_srgb/fbo-alphatest-formats/gl_sluminance8: skip
1472 spec/ext_texture_srgb/fbo-alphatest-formats/gl_sluminance8_alpha8: skip
1473 spec/ext_texture_srgb/fbo-alphatest-formats/gl_sluminance_alpha: skip