nir: add nir_intrinsic_load_per_primitive_input, split from io_semantics flag
Instead of having 1 bit in nir_io_semantics indicating a per-primitive FS input, add a dedicated intrinsic for it. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29895>
This commit is contained in:
@@ -2017,9 +2017,7 @@ typedef struct nir_io_semantics {
|
||||
unsigned no_sysval_output : 1; /* whether this system value output has no
|
||||
effect due to current pipeline states */
|
||||
unsigned interp_explicit_strict : 1; /* preserve original vertex order */
|
||||
unsigned per_primitive : 1; /* Per-primitive FS input (when FS is used with a mesh shader).
|
||||
Note that per-primitive MS outputs are implied by
|
||||
using a dedicated intrinsic, store_per_primitive_output. */
|
||||
unsigned _pad : 1;
|
||||
} nir_io_semantics;
|
||||
|
||||
/* Transform feedback info for 2 outputs. nir_intrinsic_store_output contains
|
||||
|
||||
Reference in New Issue
Block a user