diff options
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_pstipple.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c index 62c54b35bc7..cfb6ef4453a 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c +++ b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c @@ -165,11 +165,16 @@ pstip_transform_decl(struct tgsi_transform_context *ctx, } +/** + * TGSI immediate declaration transform callback. + * We're just counting the number of immediates here. + */ static void pstip_transform_immed(struct tgsi_transform_context *ctx, struct tgsi_full_immediate *immed) { struct pstip_transform_context *pctx = (struct pstip_transform_context *) ctx; + ctx->emit_immediate(ctx, immed); /* emit to output shader */ pctx->numImmed++; } |