OSDN Git Service

amd/common: do not rely on the pipeline for the push constants logic
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 9 Jan 2018 17:09:43 +0000 (18:09 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Jan 2018 11:31:54 +0000 (12:31 +0100)
commitd43f50c00b8172abd0c9e934c3e193bdc85b5089
tree450fbbfbe553ea95826d5fc1a24d342b5ab702f2
parent4e701cf75c89dbe8dd731698f2652beb7863e69b
amd/common: do not rely on the pipeline for the push constants logic

It makes more sense to rely on nir_intrinsic_load_push_constant
instead of the pipeline layout.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_shader_info.c
src/amd/common/ac_shader_info.h