radv/ac: move needs_push_constants to shader info.
authorDave Airlie <airlied@redhat.com>
Mon, 17 Apr 2017 19:29:34 +0000 (05:29 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Apr 2017 23:00:42 +0000 (09:00 +1000)
commitec4785afb7bbba0627719731ceba05deeb58baac
tree9b406a3c94c13ca88e76da7bb122817987eb5f4e
parentec15e0d3015ccef4d6c60bd282cfb848118557ae
radv/ac: move needs_push_constants to shader info.

First step to optimising push constants.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_shader_info.c
src/amd/common/ac_shader_info.h