aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-01-24 13:11:22 +1000
committerErik Faye-Lund <[email protected]>2019-10-17 10:41:36 +0200
commit731260de7ddb30638b194f1a52a62a5b94487398 (patch)
tree89296750f1eed2c21bf87285308cd6e1a395b14a /src/gallium/include
parentdc91a02a72cd677b132c00b1fae2aeffefa1de1c (diff)
gallium: add flatshade lowering capability
This allows the driver to request flatshade lowering. (NIR drivers only so far). Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index bf6825a65d1..a9c5a466194 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -904,6 +904,7 @@ enum pipe_cap
PIPE_CAP_GL_SPIRV_VARIABLE_POINTERS,
PIPE_CAP_DEMOTE_TO_HELPER_INVOCATION,
PIPE_CAP_TGSI_TG4_COMPONENT_IN_SWIZZLE,
+ PIPE_CAP_FLATSHADE,
};
/**