r600g: fix handling of outputs as TEX addr sources
Outputs should be treated in the same way as inputs and temporaries here. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
@@ -3252,7 +3252,8 @@ static inline boolean tgsi_tex_src_requires_loading(struct r600_shader_ctx *ctx,
|
||||
{
|
||||
struct tgsi_full_instruction *inst = &ctx->parse.FullToken.FullInstruction;
|
||||
return (inst->Src[index].Register.File != TGSI_FILE_TEMPORARY &&
|
||||
inst->Src[index].Register.File != TGSI_FILE_INPUT) ||
|
||||
inst->Src[index].Register.File != TGSI_FILE_INPUT &&
|
||||
inst->Src[index].Register.File != TGSI_FILE_OUTPUT) ||
|
||||
ctx->src[index].neg || ctx->src[index].abs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user