projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ac/gpu_info: replace num_good_cu_per_sh with min/max_good_cu_per_sa
[mesa.git]
/
src
/
amd
/
vulkan
/
si_cmd_buffer.c
diff --git
a/src/amd/vulkan/si_cmd_buffer.c
b/src/amd/vulkan/si_cmd_buffer.c
index ad71ee55ac279b33b707d790ebef59b3c38510fb..a43821affb22885d4c8780944eed53a9f5ed0ab4 100644
(file)
--- a/
src/amd/vulkan/si_cmd_buffer.c
+++ b/
src/amd/vulkan/si_cmd_buffer.c
@@
-164,8
+164,8
@@
si_emit_graphics(struct radv_device *device,
int i;
radeon_emit(cs, PKT3(PKT3_CONTEXT_CONTROL, 1, 0));
int i;
radeon_emit(cs, PKT3(PKT3_CONTEXT_CONTROL, 1, 0));
- radeon_emit(cs, C
ONTEXT_CONTROL_LOAD_ENABLE
(1));
- radeon_emit(cs, C
ONTEXT_CONTROL_SHADOW_ENABLE
(1));
+ radeon_emit(cs, C
C0_UPDATE_LOAD_ENABLES
(1));
+ radeon_emit(cs, C
C1_UPDATE_SHADOW_ENABLES
(1));
if (has_clear_state) {
radeon_emit(cs, PKT3(PKT3_CLEAR_STATE, 0, 0));
if (has_clear_state) {
radeon_emit(cs, PKT3(PKT3_CLEAR_STATE, 0, 0));
@@
-293,7
+293,7
@@
si_emit_graphics(struct radv_device *device,
}
/* Compute LATE_ALLOC_VS.LIMIT. */
}
/* Compute LATE_ALLOC_VS.LIMIT. */
- unsigned num_cu_per_sh = physical_device->rad_info.
num_good_cu_per_sh
;
+ unsigned num_cu_per_sh = physical_device->rad_info.
min_good_cu_per_sa
;
unsigned late_alloc_wave64 = 0; /* The limit is per SH. */
unsigned late_alloc_wave64_gs = 0;
unsigned cu_mask_vs = 0xffff;
unsigned late_alloc_wave64 = 0; /* The limit is per SH. */
unsigned late_alloc_wave64_gs = 0;
unsigned cu_mask_vs = 0xffff;