mesa/src
Dave Airlie 95527fe229 clover/module: add a printf support to module (v5)
This adds storage for printf formats encoded as number of
argument sizes + the printf format string, and storage
for sideband printf strings if the backend wants them.

It adds a flag that decides if the backend wants AMD (LLVM)
behaviour or NIR wrt the format of the global buffer and
how to decode strings.

Based on work by EdB in his printf support, but made useful
to be generic.

I'm not a huge fan of the buffer format flag, but this was
the easiest way to denote the llvm abi buffer format.

v3: rename buffer fmt

v4: use a single strings storage and one struct

v5: move printf_info into module, cleanup serialisation struct

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8254>
2020-12-29 09:07:23 +10:00
..
amd Revert "radv: use 32-bit predication for skipping FCE on GFX10.3+" 2020-12-24 09:56:25 +01:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom v3dv: fix BO list for TFU jobs 2020-12-17 09:24:36 +01:00
compiler nir/tests: Initialize nir_serialize_test member dup. 2020-12-24 21:15:38 +00:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/dri2: fix image loaderPrivate type mixup 2020-12-24 00:05:15 +09:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno freedreno/ir3: remap FRAG_RESULT_COLOR to _DATA* for dual-src blending 2020-12-28 17:33:17 +00:00
gallium clover/module: add a printf support to module (v5) 2020-12-29 09:07:23 +10:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx glx/tests: Fix leaks in the unit tests. 2020-12-15 19:39:29 +00:00
gtest
hgl
imgui
intel intel/fs: don't spill a register, set by undef 2020-12-21 21:18:01 +00:00
loader loader: Print dlerror() output in the failure message 2020-11-04 21:45:37 +00:00
mapi glapi: fix unused-function warning 2020-12-01 16:51:01 +00:00
mesa mesa: glProgramBinary add resource_hash 2020-12-28 12:23:59 +00:00
microsoft d3d12: Initialize TransitionableResourceState m_SupportsSimultaneousAccess. 2020-12-24 22:02:00 +00:00
panfrost android: pan/bi: Generate bi_opcodes.{c,h} 2020-12-28 16:30:52 +01:00
util util: add printf specifier shared helper code. 2020-12-29 09:07:23 +10:00
virtio virgl: update protocol headers 2020-08-21 18:38:44 +00:00
vulkan vulkan/overlay: add new options to display device/swapchain-format 2020-12-15 08:05:38 +00:00
meson.build microsoft/compiler: Add dedicated spirv_to_dxil libraries 2020-12-22 13:28:21 -08:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00