r600g: add src negation support
Should fix few glBitmap cases. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
@@ -537,6 +537,7 @@ static int tgsi_src(struct r600_shader_ctx *ctx,
|
||||
if (tgsi_src->Register.File == TGSI_FILE_IMMEDIATE) {
|
||||
r600_src->sel = 0;
|
||||
}
|
||||
r600_src->neg = tgsi_src->Register.Negate;
|
||||
r600_src->sel += ctx->file_offset[tgsi_src->Register.File];
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user