From: Nicolai Hähnle Date: Fri, 15 Jan 2016 21:56:15 +0000 (-0500) Subject: util/u_pstipple.c: copy immediates during transformation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6281a285012d76cf60fb8639838c369cf4d438f;p=mesa.git 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" Tested-by: Christian König Reviewed-by: Marek Olšák --- 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); }