projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ac/radv/radeonsi: add ac_get_num_physical_sgprs() helper
[mesa.git]
/
src
/
amd
/
vulkan
/
radv_shader.h
diff --git
a/src/amd/vulkan/radv_shader.h
b/src/amd/vulkan/radv_shader.h
index 3652a811e80491a8e2f3c746fd91bb6f9b92b108..b67cd2b4f158ddedd9e47dccd6abda12ec0d2dad 100644
(file)
--- a/
src/amd/vulkan/radv_shader.h
+++ b/
src/amd/vulkan/radv_shader.h
@@
-407,10
+407,4
@@
static inline unsigned shader_io_get_unique_index(gl_varying_slot slot)
unreachable("illegal slot in get unique index\n");
}
-static inline uint32_t
-radv_get_num_physical_sgprs(struct radv_physical_device *physical_device)
-{
- return physical_device->rad_info.chip_class >= VI ? 800 : 512;
-}
-
#endif