Mesa (master): util/u_pstipple.c: copy immediates during transformation
Nicolai Hähnle
nh at kemper.freedesktop.org
Tue Jan 19 15:54:13 UTC 2016
Module: Mesa
Branch: master
Commit: e6281a285012d76cf60fb8639838c369cf4d438f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6281a285012d76cf60fb8639838c369cf4d438f
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Fri Jan 15 16:56:15 2016 -0500
util/u_pstipple.c: copy immediates during transformation
Apparently, nobody has combined stippling with a fragment shader
containing immediates in almost five years...
Fixes a bug in Kodi with radeonsi reported by Christian König.
Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org>
Tested-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/auxiliary/util/u_pstipple.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/auxiliary/util/u_pstipple.c b/src/gallium/auxiliary/util/u_pstipple.c
index 08dec13..3428172 100644
--- a/src/gallium/auxiliary/util/u_pstipple.c
+++ b/src/gallium/auxiliary/util/u_pstipple.c
@@ -230,6 +230,7 @@ pstip_transform_immed(struct tgsi_transform_context *ctx,
struct pstip_transform_context *pctx =
(struct pstip_transform_context *) ctx;
pctx->numImmed++;
+ ctx->emit_immediate(ctx, immed);
}
More information about the mesa-commit
mailing list