projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
894e017
)
ac: match radeonsi code in ac_shader_binary_read_config
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 9 May 2019 00:13:17 +0000
(20:13 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 16 May 2019 17:15:36 +0000
(13:15 -0400)
src/amd/common/ac_binary.c
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_binary.c
b/src/amd/common/ac_binary.c
index fabeb15a2048d26c3e98c6137a8b0c7484c4b58b..8f4755ebe16c4510cf1fa77f222e1bcf31c755f7 100644
(file)
--- a/
src/amd/common/ac_binary.c
+++ b/
src/amd/common/ac_binary.c
@@
-288,11
+288,11
@@
void ac_shader_binary_read_config(struct ac_shader_binary *binary,
}
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;