mesa/src
Eric Anholt 771adffec1 st: Lower uniforms in st in the !PIPE_CAP_PACKED_UNIFORMS case as well.
PIPE_CAP_PACKED_UNIFORMS conflates several things: Lowering uniforms i/o
at the st level instead of the backend, packing uniforms with no padding
at all, and lowering to UBOs.

Requiring backends to lower uniforms i/o for !PIPE_CAP_PACKED_UNIFORMS
leads to the driver needing to either link against the type size function
in mesa/st, or duplicating it in the backend.  Given that all backends
want this lower-io as far as I can tell, just move it to mesa/st to
resolve the link issue and avoid the driver author needing to understand
st's uniforms layout.

Incidentally, fixes uniform layout failures in nouveau in:

dEQP-GLES2.functional.shaders.struct.uniform.sampler_nested_fragment
dEQP-GLES2.functional.shaders.struct.uniform.sampler_nested_vertex
dEQP-GLES2.functional.shaders.struct.uniform.sampler_array_fragment
dEQP-GLES2.functional.shaders.struct.uniform.sampler_array_vertex

and I think in Lima as well.

v2: fix indents

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2019-04-10 11:44:20 -07:00
..
amd radv: enable VK_AMD_gpu_shader_half_float 2019-04-10 09:07:17 +02:00
broadcom nir: Get rid of global registers 2019-04-09 00:29:36 -05:00
compiler Revert "glsl: fix shader_storage_blocks_write_access for SSBO block arrays" 2019-04-10 10:48:56 -04:00
egl egl: hide entrypoints that shouldn't be exported when using glvnd 2019-03-29 16:54:08 +00:00
freedreno nir: Get rid of global registers 2019-04-09 00:29:36 -05:00
gallium st: Lower uniforms in st in the !PIPE_CAP_PACKED_UNIFORMS case as well. 2019-04-10 11:44:20 -07:00
gbm gbm: drop duplicate #defines 2019-02-14 11:20:00 +00:00
getopt
glx drisw: Try harder to probe whether MIT-SHM works 2019-04-09 09:50:24 +10:00
gtest meson: hide warnings from external project gtest 2018-10-31 18:20:25 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: update memory editor 2019-02-26 12:49:07 +00:00
intel anv: don't use default pipeline cache for hits for VK_EXT_pipeline_creation_feedback 2019-04-10 18:45:04 +01:00
loader loader: use loader_open_device() to handle O_CLOEXEC 2019-02-26 11:07:23 +00:00
mapi mesa: implement ARB/KHR_parallel_shader_compile 2019-04-01 12:37:52 -04:00
mesa st: Lower uniforms in st in the !PIPE_CAP_PACKED_UNIFORMS case as well. 2019-04-10 11:44:20 -07:00
util util/process: document memory leak 2019-04-04 16:09:52 +00:00
vulkan wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE 2019-04-10 09:10:01 +02:00
Makefile.am build: move imgui out of src/intel/tools to be reused 2019-02-21 18:06:05 +00:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00