radv: fix radv_nir_get_max_workgroup_size when nir=NULL
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 11 Nov 2019 11:16:31 +0000 (11:16 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 11 Nov 2019 20:44:12 +0000 (20:44 +0000)
commitde998d3eb5822b54aa56d4f18f402e7cddb0e507
treef6cbbc16122e1a1ddbdfe4a865241f9fb93ae24c
parentf93bb903020bac21a36e240b2c19a4733c2405ee
radv: fix radv_nir_get_max_workgroup_size when nir=NULL

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: 84a1a2578 ('compiler: pack shader_info from 160 bytes to 96 bytes')
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_nir_to_llvm.c