radv: do not use an user SGPR for the sample position offset
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 19 Jun 2018 12:25:48 +0000 (14:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 Jun 2018 11:21:42 +0000 (13:21 +0200)
commit70c1bee1872f3a38c6db7e79c6ec56056f1c8f7c
tree904eacac42ae74f69854844d5feff5c7ca6e63ae
parent20170865db0d8d78f217ea1eaf49eff4a4c0bfc1
radv: do not use an user SGPR for the sample position offset

We know the number of samples at compile time.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.h