diff options
author | Andreas Baierl <[email protected]> | 2020-01-03 21:56:56 +0100 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2020-01-05 03:08:01 +0000 |
commit | 7ad1896ab8a0ec07b9cc54f7316291a3e476f431 (patch) | |
tree | 18f238adb72d632ae6ed65078d3dce1a4e7bdbed | |
parent | af7dc4675dbd89689491a10fad4868377861932f (diff) |
lima/parser: Fix VS cmd stream parser
prefetch is int, not bool.
Reviewed-by: Qiang Yu <[email protected]>
Signed-off-by: Andreas Baierl <[email protected]>
-rw-r--r-- | src/gallium/drivers/lima/lima_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/lima_parser.c b/src/gallium/drivers/lima/lima_parser.c index 8850a284a0d..f82ae0a2c2a 100644 --- a/src/gallium/drivers/lima/lima_parser.c +++ b/src/gallium/drivers/lima/lima_parser.c @@ -71,8 +71,8 @@ parse_vs_draw(FILE *fp, uint32_t *value1, uint32_t *value2) static void parse_vs_shader_info(FILE *fp, uint32_t *value1, uint32_t *value2) { - fprintf(fp, "\t/* SHADER_INFO: prefetch: %s, size: %d */\n", - (*value1 & 0x00100000) ? "enabled" : "disabled", + fprintf(fp, "\t/* SHADER_INFO: prefetch: %d, size: %d */\n", + (*value1 & 0xfff00000) >> 20, (((*value1 & 0x000fffff) >> 10) + 1) << 4); } |