projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c9495b
)
gallium: tgsi_from_mesa - handle VARYING_SLOT_FACE
author
Gert Wollny
<gert.wollny@collabora.com>
Tue, 17 Dec 2019 20:30:16 +0000
(21:30 +0100)
committer
Gert Wollny
<gw.fossdev@gmail.com>
Sat, 4 Jan 2020 16:22:40 +0000
(16:22 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3286>
src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
index 659156b5190acd860ceca5fe8641231867deb7f4..19384cf4b2780b775a60d17733fde71769844eb8 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
@@
-123,6
+123,10
@@
tgsi_get_gl_varying_semantic(gl_varying_slot attr,
*semantic_name = TGSI_SEMANTIC_VIEWPORT_INDEX;
*semantic_index = 0;
break;
+ case VARYING_SLOT_FACE:
+ *semantic_name = TGSI_SEMANTIC_FACE;
+ *semantic_index = 0;
+ break;
case VARYING_SLOT_PNTC:
*semantic_name = TGSI_SEMANTIC_PCOORD;
*semantic_index = 0;