lima/parser: Fix rsw parser
authorAndreas Baierl <ichgeh@imkreisrum.de>
Fri, 3 Jan 2020 21:26:35 +0000 (22:26 +0100)
committerQiang Yu <yuq825@gmail.com>
Sun, 5 Jan 2020 03:08:01 +0000 (03:08 +0000)
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>
src/gallium/drivers/lima/lima_parser.c

index 2becad8c1212fd55d14eb9dea1b4eed73b5733fd..8850a284a0d9b124ea779a61696e7a9779b8ae41 100644 (file)
@@ -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 */