summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/lima
diff options
context:
space:
mode:
authorAndreas Baierl <ichgeh@imkreisrum.de>2020-01-03 22:26:35 +0100
committerQiang Yu <yuq825@gmail.com>2020-01-05 03:08:01 +0000
commitaf7dc4675dbd89689491a10fad4868377861932f (patch)
treee02f22bc59ccd03017d60cb65c9177a222b3c1a2 /src/gallium/drivers/lima
parentdefb3a9465bcdfbe691e5e7a785b9999fa77b500 (diff)
lima/parser: Fix rsw parser
Drop assert as it is not necessary and used wrong anyway. Reviewed-by: Qiang Yu <yuq825@gmail.com> Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
Diffstat (limited to 'src/gallium/drivers/lima')
-rw-r--r--src/gallium/drivers/lima/lima_parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/lima_parser.c b/src/gallium/drivers/lima/lima_parser.c
index 2becad8c121..8850a284a0d 100644
--- a/src/gallium/drivers/lima/lima_parser.c
+++ b/src/gallium/drivers/lima/lima_parser.c
@@ -24,7 +24,6 @@
#include "util/u_math.h"
-#include <assert.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
@@ -522,7 +521,6 @@ parse_rsw(FILE *fp, uint32_t *value, int i, uint32_t *helper)
*value & 0xffffffe0, *value & 0x0000001f);
break;
case 10: /* VARYING TYPES */
- assert(*helper);
fprintf(fp, "(1): ");
int val, j;
/* 0 - 5 */