From 731260de7ddb30638b194f1a52a62a5b94487398 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 24 Jan 2019 13:11:22 +1000 Subject: gallium: add flatshade lowering capability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows the driver to request flatshade lowering. (NIR drivers only so far). Reviewed-by: Marek Olšák --- src/gallium/include/pipe/p_defines.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/include') 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, }; /** -- cgit v1.2.3