radv,aco: fix enable_mrt_output_nan_fixup for RAGE2 again
Driver workarounds for game bugs can be easily broken. This one
shouldn't be applied to meta shaders and this restores previous logic.
Fixes: da32cbb5c6
("aco: fix missing uses of MRT output flags")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20637>
This commit is contained in:

committed by
Marge Bot

parent
38d6185432
commit
e11e68b56b
@@ -567,8 +567,7 @@ si_llvm_init_export_args(struct radv_shader_context *ctx, LLVMValueRef *values,
|
||||
(ctx->options->key.ps.epilog.spi_shader_col_format >> (4 * index)) & 0xf;
|
||||
bool is_int8 = (ctx->options->key.ps.epilog.color_is_int8 >> index) & 1;
|
||||
bool is_int10 = (ctx->options->key.ps.epilog.color_is_int10 >> index) & 1;
|
||||
bool enable_mrt_output_nan_fixup =
|
||||
(ctx->options->key.ps.epilog.enable_mrt_output_nan_fixup >> index) & 1;
|
||||
bool enable_mrt_output_nan_fixup = (ctx->options->enable_mrt_output_nan_fixup >> index) & 1;
|
||||
|
||||
LLVMValueRef (*packf)(struct ac_llvm_context * ctx, LLVMValueRef args[2]) = NULL;
|
||||
LLVMValueRef (*packi)(struct ac_llvm_context * ctx, LLVMValueRef args[2], unsigned bits,
|
||||
|
Reference in New Issue
Block a user