mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
cell: compile fix: alpha.ref is now alpha.ref_value
This commit is contained in:
parent
830e320e2a
commit
96d230e107
2 changed files with 2 additions and 2 deletions
|
|
@ -161,7 +161,7 @@ gen_alpha_test(const struct pipe_depth_stencil_alpha_state *dsa,
|
|||
if ((dsa->alpha.func != PIPE_FUNC_NEVER) &&
|
||||
(dsa->alpha.func != PIPE_FUNC_ALWAYS)) {
|
||||
/* load/splat the alpha reference float value */
|
||||
spe_load_float(f, ref_reg, dsa->alpha.ref);
|
||||
spe_load_float(f, ref_reg, dsa->alpha.ref_value);
|
||||
}
|
||||
|
||||
/* emit code to do the alpha comparison, updating 'mask' */
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ spu_fallback_fragment_ops(uint x, uint y,
|
|||
* Do alpha test
|
||||
*/
|
||||
if (spu.depth_stencil_alpha.alpha.enabled) {
|
||||
vector float ref = spu_splats(spu.depth_stencil_alpha.alpha.ref);
|
||||
vector float ref = spu_splats(spu.depth_stencil_alpha.alpha.ref_value);
|
||||
vector unsigned int amask;
|
||||
|
||||
switch (spu.depth_stencil_alpha.alpha.func) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue