aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/ir/pp/node.c
diff options
context:
space:
mode:
authorAndreas Baierl <[email protected]>2019-08-01 11:35:28 +0200
committerQiang Yu <[email protected]>2019-08-03 08:04:12 +0000
commit5254e53debe3bcfe3d8dc1ba4110fda8b6a616f9 (patch)
tree02cd097f3b1354a9704b372819b8ea0e790c19be /src/gallium/drivers/lima/ir/pp/node.c
parentb62b0cfa7141250622229face8a8b338c344f9d2 (diff)
lima/ppir: Add gl_FrontFace handling
Signed-off-by: Andreas Baierl <[email protected]> Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/ir/pp/node.c')
-rw-r--r--src/gallium/drivers/lima/ir/pp/node.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/ir/pp/node.c b/src/gallium/drivers/lima/ir/pp/node.c
index 5e1264d6cd9..c62e4cc2e57 100644
--- a/src/gallium/drivers/lima/ir/pp/node.c
+++ b/src/gallium/drivers/lima/ir/pp/node.c
@@ -252,6 +252,13 @@ const ppir_op_info ppir_op_infos[] = {
PPIR_INSTR_SLOT_VARYING, PPIR_INSTR_SLOT_END
},
},
+ [ppir_op_load_frontface] = {
+ .name = "ld_frontface",
+ .type = ppir_node_type_load,
+ .slots = (int []) {
+ PPIR_INSTR_SLOT_VARYING, PPIR_INSTR_SLOT_END
+ },
+ },
[ppir_op_load_uniform] = {
.name = "ld_uni",
.type = ppir_node_type_load,