mesa/src
Caio Marcelo de Oliveira Filho f5e1765f98 intel/compiler: Use a struct for brw_compile_fs parameters
Makes calling code more explicit about what is being set, and allows
take advantage of zero initialization for the ones the callsite don't
care.

Besides moving to the struct, two extra "ergonomic" changes were done:

- Add a new shader_time boolean, so shader_time_index is ignored when
  unused -- this allow taking advantage of the zero initialization of
  unset fields.

- Since we have a struct, provide space for the error_str pointer.
  Both iris and i965 were using it, and the extra rstrdup in case of
  failure shouldn't be a burden for the others.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9779>
2021-03-24 23:18:46 +00:00
..
amd aco/ra: Avoid unnecessary copying of std::vectors 2021-03-24 22:20:25 +00:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom broadcom: Disbale CLIF dumping when libexpat isn't available. 2021-03-24 17:25:07 +00:00
compiler compiler/spirv: use undefs when extending image coords 2021-03-24 19:07:19 +00:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl egl/wayland: avoid unnecessary roundtrip when authenticated 2021-03-19 14:45:33 +00:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno ci/fdo: Use trimmed traces for Valve games 2021-03-24 20:54:58 +00:00
gallium intel/compiler: Use a struct for brw_compile_fs parameters 2021-03-24 23:18:46 +00:00
gbm gbm: remove fprintf calls in gbm_dri_bo_create 2021-03-17 20:47:52 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx/drisw: Implement WaitX and WaitGL 2021-03-19 15:43:49 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/compiler: Use a struct for brw_compile_fs parameters 2021-03-24 23:18:46 +00:00
loader scons: Remove. 2021-03-20 10:38:55 +00:00
mapi scons: Remove. 2021-03-20 10:38:55 +00:00
mesa intel/compiler: Use a struct for brw_compile_fs parameters 2021-03-24 23:18:46 +00:00
microsoft nir: port fp16 casting code from dxil 2021-03-22 12:16:59 +10:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panfrost: Add a Meson dependency on bi_opcodes.h for bifrost_compiler 2021-03-19 19:22:29 +00:00
util scons: Remove. 2021-03-20 10:38:55 +00:00
virtio virgl: implement support for PIPE_CAP_STRING_MARKER 2021-03-09 13:57:05 +00:00
vulkan vulkan: add common entrypoints for VK_KHR_create_renderpass2 2021-03-24 11:21:53 +00:00
meson.build nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00