mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 03:38:06 +02:00
r300/compiler: Fix R300 vertex program dumps
The source register field has 8 bits. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
This commit is contained in:
parent
bcfba138cc
commit
57abb76e10
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ static void r300_vs_op_dump(uint32_t op)
|
|||
static void r300_vs_src_dump(uint32_t src)
|
||||
{
|
||||
fprintf(stderr, " reg: %d%s swiz: %s%s/%s%s/%s%s/%s%s\n",
|
||||
(src >> 5) & 0x7f, r300_vs_src_debug[src & 0x3],
|
||||
(src >> 5) & 0xff, r300_vs_src_debug[src & 0x3],
|
||||
src & (1 << 25) ? "-" : " ",
|
||||
r300_vs_swiz_debug[(src >> 13) & 0x7],
|
||||
src & (1 << 26) ? "-" : " ",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue