mesa/src/gallium/auxiliary
Jesse Natalie 69c2a472c2 u_format: Add restrict to fn pointer and manual format pack/unpack/fetch
MSVC warns (loudly) about a mismatch between the generated functions in
u_format_table.c and the definition of util_format_[un]pack_description,
specifically having 'restrict' in the function but not in the pointer
type in the struct.

So, add 'restrict' everywhere - to the function types, and to the rest
of the implementations that are assigned to those structs.

v2: util_format_unpack_description is used in gallium/auxiliary/translate

Fixes: 5785fdac ("u_format: Mark the generated pack/unpack src/dst args as restrict.")
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9670>
2021-03-18 14:53:52 +00:00
..
cso_cache gallium,u_threaded: add pipe_draw_info::take_index_buffer_ownership 2021-01-27 23:53:35 +00:00
draw draw: add tess/gs support for multiview index 2021-03-12 05:05:51 +00:00
driver_ddebug gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
driver_noop gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
driver_rbug gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
driver_trace gallium/trace: remove transfer_map assert 2021-02-18 18:26:15 +00:00
gallivm gallivm: convert packing to uint64 not double 2021-03-16 23:05:10 +00:00
hud gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
indices gallium/indices: Use "__restrict" to help the compiler 2021-03-11 03:14:31 +00:00
nir nir_to_tgsi: Fix indices for CMP in nir_to_tgsi for nir_op_fcsel 2021-03-18 04:20:16 +00:00
os os: Fix open result check. 2020-11-02 18:37:00 +00:00
pipe-loader st/mesa: add a driconf option to transcode ETC2 to DXTC 2021-03-17 23:33:09 +00:00
pipebuffer winsys/amdgpu,pb_slab: add slabs with 3/4 of power of two sizes to save memory 2021-02-03 21:53:34 +00:00
postprocess gallium: add take_ownership param into set_vertex_buffers to eliminate atomics 2021-01-27 23:53:35 +00:00
rbug rbug: Fix use of alloca() without #include "c99_alloca.h" 2019-10-25 16:04:34 +01:00
renderonly renderonly: remove layering violations 2021-03-11 14:41:48 +00:00
rtasm util: Add accessor for util_cpu_caps 2021-02-26 18:31:19 +00:00
target-helpers drisw: Disable automatic use of layered drivers with LIBGL_ALWAYS_SOFTWARE 2021-02-04 16:19:51 +00:00
tessellator gallium/tessellator: Rename D3D11 defines 2021-02-21 22:17:35 +00:00
tgsi tgsi_exec: Jump over entirely non-taken THEN or ELSE branches. 2021-03-03 20:47:08 +00:00
translate u_format: Add restrict to fn pointer and manual format pack/unpack/fetch 2021-03-18 14:53:52 +00:00
util gallium/u_vbuf: use updated pipe_draw_start_count while using draw_vbo 2021-03-18 02:09:45 +00:00
vl radeonsi/uvd: make format modifiers-aware 2021-02-28 18:21:29 +00:00
Android.mk android: fix build failure with libbacktrace 2020-12-11 10:41:14 +00:00
Makefile.sources android: gallium/aux: Add GPU tracepoint mechanism 2020-12-07 13:10:32 +00:00
SConscript gallium/aux: Update scons build for u_tracepoints.[ch] 2020-12-08 16:02:10 +00:00
meson.build meson/gallium: Add an option to not use LLVM for gallium draw module 2021-02-25 17:48:16 +00:00