mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
radeonsi: simplify dereferences in si_update_spi_map
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
639f6b41d2
commit
6f04cf7fac
1 changed files with 2 additions and 2 deletions
|
|
@ -509,7 +509,7 @@ bcolor:
|
|||
|
||||
if (ps->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT ||
|
||||
(ps->input[i].interpolate == TGSI_INTERPOLATE_COLOR &&
|
||||
sctx->ps_shader->current->key.ps.flatshade)) {
|
||||
ps->key.ps.flatshade)) {
|
||||
tmp |= S_028644_FLAT_SHADE(1);
|
||||
}
|
||||
|
||||
|
|
@ -536,7 +536,7 @@ bcolor:
|
|||
tmp);
|
||||
|
||||
if (name == TGSI_SEMANTIC_COLOR &&
|
||||
sctx->ps_shader->current->key.ps.color_two_side) {
|
||||
ps->key.ps.color_two_side) {
|
||||
name = TGSI_SEMANTIC_BCOLOR;
|
||||
param_offset++;
|
||||
goto bcolor;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue