summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/Makefile.sources
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-09-01 16:29:17 -0600
committerBrian Paul <[email protected]>2015-09-01 16:29:17 -0600
commita65bdf5f47689b52ec97181ec870b089872b508e (patch)
tree64dde4eb974396e68a1685c0649003f05930205c /src/gallium/auxiliary/Makefile.sources
parentda33c2434b1dc4ca24a131a9625166278333b7d3 (diff)
tgsi: add new tgsi_two_side.c utility code
This could be used by any driver where the device doesn't directly support two-sided lighting. This code modifies a fragment shader to accecpt back-face colors and choose between the front/back colors depending on the triangle's front-face sign.
Diffstat (limited to 'src/gallium/auxiliary/Makefile.sources')
-rw-r--r--src/gallium/auxiliary/Makefile.sources2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources
index 3616d885b47..d5986b45e06 100644
--- a/src/gallium/auxiliary/Makefile.sources
+++ b/src/gallium/auxiliary/Makefile.sources
@@ -154,6 +154,8 @@ C_SOURCES := \
tgsi/tgsi_text.h \
tgsi/tgsi_transform.c \
tgsi/tgsi_transform.h \
+ tgsi/tgsi_two_side.c \
+ tgsi/tgsi_two_side.h \
tgsi/tgsi_ureg.c \
tgsi/tgsi_ureg.h \
tgsi/tgsi_util.c \