mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
nir: Move the undef of nir_intrinsics.h macros to the .h.
I wanted to include this from nir_builder as well, so it also needed the undefs. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
c078c41520
commit
24728637e2
2 changed files with 3 additions and 3 deletions
|
|
@ -868,9 +868,6 @@ typedef enum {
|
|||
nir_num_intrinsics = nir_last_intrinsic + 1
|
||||
} nir_intrinsic_op;
|
||||
|
||||
#undef INTRINSIC
|
||||
#undef LAST_INTRINSIC
|
||||
|
||||
#define NIR_INTRINSIC_MAX_CONST_INDEX 3
|
||||
|
||||
/** Represents an intrinsic
|
||||
|
|
|
|||
|
|
@ -405,3 +405,6 @@ STORE(ssbo, 3, 1, WRMASK, xx, xx, 0)
|
|||
STORE(shared, 2, 2, BASE, WRMASK, xx, 0)
|
||||
|
||||
LAST_INTRINSIC(store_shared)
|
||||
|
||||
#undef INTRINSIC
|
||||
#undef LAST_INTRINSIC
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue