radv: start using defines for the user sgpr offsets
authorDave Airlie <airlied@redhat.com>
Mon, 10 Oct 2016 02:20:36 +0000 (03:20 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Oct 2016 00:17:48 +0000 (10:17 +1000)
commitb0e11a153c4b8cd9bf29bdb8e26a776de241a5b4
tree92b906dcddf195e9e52cd8a83239b2a6b793dbe8
parent6c3bd1cdb3c60a0140b57a2064e02f5869b0f9bc
radv: start using defines for the user sgpr offsets

This adds some comments and adds defines for the user sgprs,
so that we can move them around easier later and not have
to change/revalidate every one of these.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h
src/amd/vulkan/radv_cmd_buffer.c