radeonsi/gfx10: move s_sendmsg gs_alloc_req to the beginning of shaders
authorMarek Olšák <marek.olsak@amd.com>
Fri, 3 Jan 2020 21:20:40 +0000 (16:20 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 20 Jan 2020 21:16:11 +0000 (16:16 -0500)
commit5a0fcf11f0d82f0bd20cd15addfa8086d715c16b
tree83eafe7cb5377dedc3114bb3d458bf9b2979d9d9
parentcf9f8d1ea2044effc35e15e1ee91a528b8d9e487
radeonsi/gfx10: move s_sendmsg gs_alloc_req to the beginning of shaders

This will allow us to merge some IF blocks in shaders.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/gfx10_shader_ngg.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h