mesa/src
Caio Marcelo de Oliveira Filho c54fc0d07b intel/compiler: Replace cs_prog_data->push.total with a helper
The push.total field had three values but only one was directly
used (size).  Replace it with a helper function that explicitly takes
the cs_prog_data and the number of threads -- and use that in the
drivers.

This is a preparation for ARB_compute_variable_group_size where the
number of threads (hence the total size for push constants) is not
defined at compile time (not cs_prog_data->threads).

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4504>
2020-04-09 19:23:12 -07:00
..
amd aco: RA - move all std::function objects into proper functions 2020-04-09 15:08:57 +00:00
broadcom drm-shim: return device platform as specified 2020-04-03 21:14:18 +00:00
compiler ir3: Plumb through bindless support 2020-04-09 15:56:55 +00:00
drm-shim drm-shim: stub libdrm's use of realpath() 2020-04-03 21:14:18 +00:00
egl EGL: Add eglSetDamageRegionKHR to GLVND dispatch list 2020-04-03 12:22:51 +01:00
etnaviv drm-shim: return device platform as specified 2020-04-03 21:14:18 +00:00
freedreno tu: Implement descriptor set update templates 2020-04-09 15:56:55 +00:00
gallium intel/compiler: Replace cs_prog_data->push.total with a helper 2020-04-09 19:23:12 -07:00
gbm meson: move the generic symbols check arguments to a common variable 2019-11-05 20:30:47 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx glx: use anonymous namespace to avoid -Wodr issues when building with LTO enabled 2020-04-04 17:46:05 +00:00
gtest meson: gtest needs pthreads 2019-11-07 06:11:19 -08:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel intel/compiler: Replace cs_prog_data->push.total with a helper 2020-04-09 19:23:12 -07:00
loader loader: fallback to kernel name, if PCI fails 2020-04-01 16:57:22 +01:00
mapi scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
mesa intel/compiler: Replace cs_prog_data->push.total with a helper 2020-04-09 19:23:12 -07:00
panfrost pan/bit: Wire up add/add op+test 2020-04-06 19:41:56 +00:00
util util: move and adjust the vertex upload heuristic equation from u_vbuf 2020-04-06 10:30:10 -04:00
vulkan vulkan: drop unused include directories 2020-03-28 21:36:54 +01:00
meson.build meson: inline inc_common 2020-03-28 21:36:54 +01:00
SConscript scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00