diff options
author | Charmaine Lee <[email protected]> | 2015-09-01 16:29:17 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-09-01 16:29:17 -0600 |
commit | bca238d4f55dd0a9325132c73b1acade51017ba3 (patch) | |
tree | 54d253c114c6b70e7e5993f7e15c116c426ae661 /src/gallium/auxiliary/Makefile.sources | |
parent | a65bdf5f47689b52ec97181ec870b089872b508e (diff) |
tgsi: adds tgsi utility to transform a shader to support point sprite
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]>
Diffstat (limited to 'src/gallium/auxiliary/Makefile.sources')
-rw-r--r-- | src/gallium/auxiliary/Makefile.sources | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources index d5986b45e06..cc6fe7d3ae3 100644 --- a/src/gallium/auxiliary/Makefile.sources +++ b/src/gallium/auxiliary/Makefile.sources @@ -144,6 +144,8 @@ C_SOURCES := \ tgsi/tgsi_opcode_tmp.h \ tgsi/tgsi_parse.c \ tgsi/tgsi_parse.h \ + tgsi/tgsi_point_sprite.c \ + tgsi/tgsi_point_sprite.h \ tgsi/tgsi_sanity.c \ tgsi/tgsi_sanity.h \ tgsi/tgsi_scan.c \ |