mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
glsl: add scaffolding for EXT_gpu_shader4
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
1faf833949
commit
8740726e46
3 changed files with 4 additions and 0 deletions
|
|
@ -716,6 +716,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
|
|||
EXT(EXT_clip_cull_distance),
|
||||
EXT(EXT_geometry_point_size),
|
||||
EXT_AEP(EXT_geometry_shader),
|
||||
EXT(EXT_gpu_shader4),
|
||||
EXT_AEP(EXT_gpu_shader5),
|
||||
EXT_AEP(EXT_primitive_bounding_box),
|
||||
EXT(EXT_separate_shader_objects),
|
||||
|
|
|
|||
|
|
@ -817,6 +817,8 @@ struct _mesa_glsl_parse_state {
|
|||
bool EXT_geometry_point_size_warn;
|
||||
bool EXT_geometry_shader_enable;
|
||||
bool EXT_geometry_shader_warn;
|
||||
bool EXT_gpu_shader4_enable;
|
||||
bool EXT_gpu_shader4_warn;
|
||||
bool EXT_gpu_shader5_enable;
|
||||
bool EXT_gpu_shader5_warn;
|
||||
bool EXT_primitive_bounding_box_enable;
|
||||
|
|
|
|||
|
|
@ -219,6 +219,7 @@ void initialize_context_to_defaults(struct gl_context *ctx, gl_api api)
|
|||
ctx->Extensions.OES_EGL_image_external = true;
|
||||
ctx->Extensions.OES_standard_derivatives = true;
|
||||
|
||||
ctx->Extensions.EXT_gpu_shader4 = true;
|
||||
ctx->Extensions.EXT_shader_integer_mix = true;
|
||||
ctx->Extensions.EXT_texture_array = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue