radv: fix reported number of available VGPRs
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 15 Jun 2018 16:49:08 +0000 (17:49 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 18 Jun 2018 16:08:22 +0000 (17:08 +0100)
commitd85fef1e34657fc082b9a763de9499d324fbeebf
treef5a3f203fc586ae631d667727285b3a7943e9039
parent9a4bd6b45f909dbf65cf66086be2492214c5ac93
radv: fix reported number of available VGPRs

It's a bit late to round up after an integer division.

Fixes: de889794134e6245e08a2 "radv: Implement VK_AMD_shader_info"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Alex Smith <asmith@feralinteractive.com>
src/amd/vulkan/radv_shader.c