diff options
author | Andreas Baierl <[email protected]> | 2019-08-01 11:35:28 +0200 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2019-08-03 08:04:12 +0000 |
commit | 5254e53debe3bcfe3d8dc1ba4110fda8b6a616f9 (patch) | |
tree | 02cd097f3b1354a9704b372819b8ea0e790c19be /src/gallium/drivers/lima/ir/pp/node.c | |
parent | b62b0cfa7141250622229face8a8b338c344f9d2 (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.c | 7 |
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, |