ac/shader: be a little smarter when scanning vertex buffers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Feb 2018 11:03:55 +0000 (12:03 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 15 Feb 2018 13:53:30 +0000 (14:53 +0100)
commit61a4fc3ecc3d7740d2b9122c502144e69fe3060c
tree92ef57e46195d8950f9be7caa808865cd51c215a
parenta34715ad9c84c4209de4c16fdf40655181350bd9
ac/shader: be a little smarter when scanning vertex buffers

Although meta shaders don't use any vertex buffers, there is no
behaviour change but I think it's better to do this. Though,
this saves two user SGPRs for push constants inlining or
something else.

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