mesa/src/gallium/drivers
Eric Anholt afad1f7d62 vc4: Upload CS/VS UBO uniforms together.
Same as I did for V3D, drop all this code trying to GC the
non-indirectly-loaded uniforms from the UBO that's used for indirect
access of gallium cb[0].  While it does successfully drop some of those,
it came at the cost of uploading the VS's indirect unifroms twice, for the
bin and render versions of the shader.

With the UBO loads simplified, I was also able to easily backport V3D's
change to pack a UBO offset into the uniform_data[] field so that we don't
need to do the add of the uniform base in the shader.

As a bonus, now vc4 doesn't depend on mesa/st type_size functions.

total uniforms in shared programs: 25514 -> 25490 (-0.09%)
total instructions in shared programs: 77019 -> 76836 (-0.24%)
2019-04-10 11:45:30 -07:00
..
etnaviv etnaviv: only try to construct scanout resource when on KMS winsys 2019-04-03 12:54:09 +02:00
freedreno freedreno: PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT unreachable statement 2019-04-09 17:31:06 -04:00
i915 i915g: remove calls to pipe_sampler_view_release() 2019-03-17 20:07:22 -06:00
iris iris: Enable NV_compute_shader_derivatives 2019-04-08 19:29:33 -07:00
kmsro kmsro: Add the rest of the current set of tinydrm drivers. 2019-02-20 21:49:41 +00:00
llvmpipe draw: add stream member to stats callback 2019-04-09 11:19:38 +10:00
nouveau gallium: add writable_bitmask parameter into set_shader_buffers 2019-04-04 19:28:52 -04:00
panfrost st: Lower uniforms in st in the !PIPE_CAP_PACKED_UNIFORMS case as well. 2019-04-10 11:44:20 -07:00
r300 gallium: add PIPE_CAP_MAX_VARYINGS 2019-02-07 21:51:45 -05:00
r600 gallium: add writable_bitmask parameter into set_shader_buffers 2019-04-04 19:28:52 -04:00
radeon radeonsi: add support for displayable DCC for 1 RB chips 2019-04-04 09:53:24 -04:00
radeonsi nir/radv: remove restrictions on opt_if_loop_last_continue() 2019-04-09 11:29:41 +10:00
softpipe softpipe: Enable PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT 2019-04-09 08:17:45 +00:00
svga svga: stop using pipe_sampler_view_release() 2019-03-17 20:07:22 -06:00
swr swr: Fix build with llvm-9.0. 2019-03-22 13:13:51 -07:00
tegra tegra: fix the build after the set_shader_buffers change 2019-04-05 11:18:39 -04:00
v3d st: Lower uniforms in st in the !PIPE_CAP_PACKED_UNIFORMS case as well. 2019-04-10 11:44:20 -07:00
vc4 vc4: Upload CS/VS UBO uniforms together. 2019-04-10 11:45:30 -07:00
virgl virgl: use debug_printf instead of fprintf 2019-04-10 14:27:45 +02:00