mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
anv: remove unused macro
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30684>
This commit is contained in:
parent
9eff285a46
commit
7c73346549
1 changed files with 0 additions and 14 deletions
|
|
@ -4832,20 +4832,6 @@ struct anv_graphics_pipeline {
|
|||
} partial;
|
||||
};
|
||||
|
||||
#define anv_batch_merge_pipeline_state(batch, dwords0, pipeline, state) \
|
||||
do { \
|
||||
uint32_t *dw; \
|
||||
\
|
||||
assert(ARRAY_SIZE(dwords0) == (pipeline)->state.len); \
|
||||
dw = anv_batch_emit_dwords((batch), ARRAY_SIZE(dwords0)); \
|
||||
if (!dw) \
|
||||
break; \
|
||||
for (uint32_t i = 0; i < ARRAY_SIZE(dwords0); i++) \
|
||||
dw[i] = (dwords0)[i] | \
|
||||
(pipeline)->batch_data[(pipeline)->state.offset + i]; \
|
||||
VG(VALGRIND_CHECK_MEM_IS_DEFINED(dw, ARRAY_SIZE(dwords0) * 4)); \
|
||||
} while (0)
|
||||
|
||||
#define anv_batch_emit_pipeline_state(batch, pipeline, state) \
|
||||
do { \
|
||||
if ((pipeline)->state.len == 0) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue