[Mesa-dev] [PATCH v2 2/4] gallium: Add TGSI shader token for ARB_post_depth_coverage

Roland Scheidegger sroland at vmware.com
Tue May 23 19:20:36 UTC 2017


Am 23.05.2017 um 21:10 schrieb Lyude:
> Signed-off-by: Lyude <lyude at redhat.com>
> ---
>  src/gallium/include/pipe/p_shader_tokens.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
> index cb49e3b..1e08d97 100644
> --- a/src/gallium/include/pipe/p_shader_tokens.h
> +++ b/src/gallium/include/pipe/p_shader_tokens.h
> @@ -293,6 +293,7 @@ enum tgsi_property_name {
>     TGSI_PROPERTY_NUM_CLIPDIST_ENABLED,
>     TGSI_PROPERTY_NUM_CULLDIST_ENABLED,
>     TGSI_PROPERTY_FS_EARLY_DEPTH_STENCIL,
> +   TGSI_PROPERTY_FS_POST_DEPTH_COVERAGE,
>     TGSI_PROPERTY_NEXT_SHADER,
>     TGSI_PROPERTY_CS_FIXED_BLOCK_WIDTH,
>     TGSI_PROPERTY_CS_FIXED_BLOCK_HEIGHT,
> 

You forgot to add that to tgsi_strings.c. This should have triggered a
STATIC_ASSERT, not sure why it didn't work (but that has happened in the
past too...).

Roland


More information about the mesa-dev mailing list