Module: Mesa Branch: master Commit: 1572e8f3e136affb429e34ec2e8e10e206e0f3cd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1572e8f3e136affb429e34ec2e8e10e206e0f3cd
Author: Andreas Baierl <[email protected]> Date: Thu Feb 6 11:41:35 2020 +0100 lima/parser: Change value name in RSW parser Second value of SHADER_ADDRESS is the length of the first instruction in the shader, so give it a better name. Reviewed-by: Vasily Khoruzhick <[email protected] Signed-off-by: Andreas Baierl <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3619> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3619> --- src/gallium/drivers/lima/lima_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/lima/lima_parser.c b/src/gallium/drivers/lima/lima_parser.c index ae1764723eb..e08a4013672 100644 --- a/src/gallium/drivers/lima/lima_parser.c +++ b/src/gallium/drivers/lima/lima_parser.c @@ -535,7 +535,7 @@ parse_rsw(FILE *fp, uint32_t *value, int i, uint32_t *helper) fprintf(fp, ", UNKNOWN\n"); break; case 9: /* SHADER ADDRESS */ - fprintf(fp, ": fs shader @ 0x%08x, ((uint32_t *)ctx->fs->bo->map)[0] & 0x1f: 0x%08x */\n", + fprintf(fp, ": fs shader @ 0x%08x, first instr length %d */\n", *value & 0xffffffe0, *value & 0x0000001f); break; case 10: /* VARYING TYPES */ _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
