mesa: Add infrastructure for GL_ARB_sample_shading
This patch implements the common support code required for the GL_ARB_sample_shading extension. V2: Move GL_ARB_sample_shading to ARB extension list. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Ken Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -1249,6 +1249,9 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api)
|
||||
if (extensions->ARB_shading_language_420pack)
|
||||
add_builtin_define(parser, "GL_ARB_shading_language_420pack", 1);
|
||||
|
||||
if (extensions->ARB_sample_shading)
|
||||
add_builtin_define(parser, "GL_ARB_sample_shading", 1);
|
||||
|
||||
if (extensions->EXT_shader_integer_mix)
|
||||
add_builtin_define(parser, "GL_EXT_shader_integer_mix", 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user