From: Marek Olšák <[email protected]>
---
src/amd/common/ac_binary.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/amd/common/ac_binary.c b/src/amd/common/ac_binary.c
index fabeb15a204..8f4755ebe16 100644
--- a/src/amd/common/ac_binary.c
+++ b/src/amd/common/ac_binary.c
@@ -281,25 +281,25 @@ void ac_shader_binary_read_config(struct ac_shader_binary
*binary,
static bool printed;
if (!printed) {
fprintf(stderr, "Warning: LLVM emitted
unknown "
"config register: 0x%x\n", reg);
printed = true;
}
}
break;
}
-
- if (!conf->spi_ps_input_addr)
- conf->spi_ps_input_addr = conf->spi_ps_input_ena;
}
+ if (!conf->spi_ps_input_addr)
+ conf->spi_ps_input_addr = conf->spi_ps_input_ena;
+
if (really_needs_scratch) {
/* sgprs spills aren't spilling */
conf->scratch_bytes_per_wave = G_00B860_WAVESIZE(wavesize) *
256 * 4;
}
}
void ac_shader_binary_clean(struct ac_shader_binary *b)
{
if (!b)
return;
--
2.17.1
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev