mesa/src/util/u_stub_gfx_compute.h
Thong Thai f9df50eb31 util: move u_stub to src/util, add u_stub_gfx_compute.h
Move u_stub.h from amd/common, to util, so that it can be used in more
places.

Also, rename u_stub's PROC to MESAPROC, as it conflicts with the PROC
keyword and create a new TAILZ which returns 0.

Add u_stub_gfx_compute.h so that the following:

...can be a single-line:

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: David Rosca <david.rosca@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40493>
2026-04-17 09:40:13 +00:00

10 lines
No EOL
165 B
C

/*
* Copyright 2026 Advanced Micro Devices, Inc.
*
* SPDX-License-Identifier: MIT
*/
#ifndef HAVE_GFX_COMPUTE
#define __U_STUB__
#endif
#include "util/u_stub.h"