diff options
Diffstat (limited to 'src/etnaviv/etna_rs.c')
-rw-r--r-- | src/etnaviv/etna_rs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etnaviv/etna_rs.c b/src/etnaviv/etna_rs.c index 785f644..616901b 100644 --- a/src/etnaviv/etna_rs.c +++ b/src/etnaviv/etna_rs.c @@ -26,6 +26,7 @@ #include <etnaviv/state.xml.h> #include <etnaviv/state_3d.xml.h> +#include <assert.h> //#define DEBUG #ifdef DEBUG # include <stdio.h> @@ -92,6 +93,7 @@ void etna_compile_rs_state(struct etna_ctx *restrict ctx, struct compiled_rs_sta } else if (ctx->conn->chip.pixel_pipes == 2) { + assert((rs->height&7) == 0); /* GPU hangs happen if height not 8-aligned */ if (source_multi) { SET_STATE(RS_PIPE_SOURCE_ADDR[1], rs->source_addr[1]); |