anv/lower_push_constants: Stop treating scalar specially
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 19 Apr 2016 00:17:31 +0000 (17:17 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Apr 2016 16:14:47 +0000 (09:14 -0700)
commit35b758c378900b2c611050e782ca8100fbcc671d
tree065bd58973e6cdca45aa5150dd149101fd170293
parent3bbe8a09eaf95548313db13b4e56dbdd35d2755e
anv/lower_push_constants: Stop treating scalar specially

All of the code that did something special based on vec4 vs. scalar is
bogus.  In the backend, everything is now in units of bytes and the vec4
backend can handle full std140 packing so we don't need to do anything
special anymore.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94998
src/intel/vulkan/anv_nir.h
src/intel/vulkan/anv_nir_lower_push_constants.c
src/intel/vulkan/anv_pipeline.c