projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7dc46
)
lima/parser: Fix VS cmd stream parser
author
Andreas Baierl
<ichgeh@imkreisrum.de>
Fri, 3 Jan 2020 20:56:56 +0000
(21:56 +0100)
committer
Qiang Yu
<yuq825@gmail.com>
Sun, 5 Jan 2020 03:08:01 +0000
(
03:08
+0000)
prefetch is int, not bool.
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
src/gallium/drivers/lima/lima_parser.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/lima/lima_parser.c
b/src/gallium/drivers/lima/lima_parser.c
index 8850a284a0d9b124ea779a61696e7a9779b8ae41..f82ae0a2c2a23da672daa36b0a57dd7900f43c8f 100644
(file)
--- 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 & 0x
00100000) ? "enabled" : "disabled"
,
+ fprintf(fp, "\t/* SHADER_INFO: prefetch: %
d
, size: %d */\n",
+ (*value1 & 0x
fff00000) >> 20
,
(((*value1 & 0x000fffff) >> 10) + 1) << 4);
}