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@lists.freedesktop.org> Tested-by: Christian König <christian.koenig@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
2bcacc69b9
commit
e6281a2850
|
@ -230,6 +230,7 @@ pstip_transform_immed(struct tgsi_transform_context *ctx,
|
||||||
struct pstip_transform_context *pctx =
|
struct pstip_transform_context *pctx =
|
||||||
(struct pstip_transform_context *) ctx;
|
(struct pstip_transform_context *) ctx;
|
||||||
pctx->numImmed++;
|
pctx->numImmed++;
|
||||||
|
ctx->emit_immediate(ctx, immed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue