mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
radeonsi: Don't match TGSI_SEMANTIC_POSITION fs inputs to vs outputs
This commit is contained in:
parent
954bc4ac34
commit
b63b3012c9
1 changed files with 5 additions and 2 deletions
|
|
@ -319,11 +319,14 @@ static void si_update_spi_map(struct r600_context *rctx)
|
|||
unsigned name = ps->input[i].name;
|
||||
unsigned param_offset = ps->input[i].param_offset;
|
||||
|
||||
if (name == TGSI_SEMANTIC_POSITION)
|
||||
/* Read from preloaded VGPRs, not parameters */
|
||||
continue;
|
||||
|
||||
bcolor:
|
||||
tmp = 0;
|
||||
|
||||
if (name == TGSI_SEMANTIC_POSITION ||
|
||||
ps->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT ||
|
||||
if (ps->input[i].interpolate == TGSI_INTERPOLATE_CONSTANT ||
|
||||
(ps->input[i].interpolate == TGSI_INTERPOLATE_COLOR &&
|
||||
rctx->ps_shader->current->key.flatshade)) {
|
||||
tmp |= S_028644_FLAT_SHADE(1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue