aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_point_sprite.c
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: adds tgsi utility to transform a shader to support point spriteCharmaine Lee2015-09-011-0/+582
This adds a tgsi utility tgsi_add_point_sprite to transform a geometry shader to emulate wide points by drawing quads. This utility adds an extra output for the original point position if the point position is to be written to a stream output buffer. It also assumes the driver will add a constant for inverse viewport scale after the user defined constants. Reviewed-by: Brian Paul <[email protected]>