mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
radeonsi: fix interpolateAt opcodes for .zw components
Not returning garbage in .zw seems pretty important.
This fixes:
GL45-CTS.shader_multisample_interpolation.render.interpolate_at_*_check.*
Cc: 11.2 12.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit 1b37e5541c)
This commit is contained in:
parent
d16be6898b
commit
63c1a5d391
1 changed files with 1 additions and 1 deletions
|
|
@ -5072,7 +5072,7 @@ static void build_interp_intrinsic(const struct lp_build_tgsi_action *action,
|
|||
}
|
||||
|
||||
intr_name = interp_param ? "llvm.SI.fs.interp" : "llvm.SI.fs.constant";
|
||||
for (chan = 0; chan < 2; chan++) {
|
||||
for (chan = 0; chan < 4; chan++) {
|
||||
LLVMValueRef args[4];
|
||||
LLVMValueRef llvm_chan;
|
||||
unsigned schan;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue