diff options
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_builder.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_builder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_builder.h b/src/gallium/drivers/ilo/ilo_builder.h index 259487e..38b1c83 100644 --- a/src/gallium/drivers/ilo/ilo_builder.h +++ b/src/gallium/drivers/ilo/ilo_builder.h @@ -283,7 +283,8 @@ ilo_builder_dynamic_pointer(struct ilo_builder *builder, struct ilo_builder_writer *writer = &builder->writers[which]; /* all states are at least aligned to 32-bytes */ - assert(alignment % 32 == 0); + if (item != ILO_BUILDER_ITEM_BLOB) + assert(alignment % 32 == 0); *dw = (uint32_t *) ((char *) writer->ptr + offset); |