From e6281a285012d76cf60fb8639838c369cf4d438f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Fri, 15 Jan 2016 16:56:15 -0500 Subject: [PATCH] util/u_pstipple.c: copy immediates during transformation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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" Tested-by: Christian König Reviewed-by: Marek Olšák --- 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 08dec13846d..3428172203b 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); } -- 2.30.2