[Mesa-dev] [PATCH 2/2] glxinfo/wglinfo: print list of 4.3 shading language versions

Brian Paul brianp at vmware.com
Fri Feb 23 16:32:09 UTC 2018


On 02/23/2018 03:06 AM, Mike Lothian wrote:
> This still looks wrong, there's now two 4.3 sections:

Yeah, but I guess I don't see it as a big deal.  Fixing it would involve 
a bit of a hack.  While processing the big list of queries, I'd have to 
check for extension=="4.3" and call a function to query/print the GLSL 
versions.

What do you think?

-Brian



> 
>    4.3:
>      GL_MAX_ELEMENT_INDEX = 2147483647
>      GL_MAX_COMPUTE_UNIFORM_BLOCKS = 14
>      GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS = 32
>      GL_MAX_COMPUTE_IMAGE_UNIFORMS = 32
>      GL_MAX_COMPUTE_SHARED_MEMORY_SIZE = 65536
>      GL_MAX_COMPUTE_UNIFORM_COMPONENTS = 16384
>      GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS = 16
>      GL_MAX_COMPUTE_ATOMIC_COUNTERS = 4096
>      GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS = 245760
>      GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS = 1792
>      GL_MAX_DEBUG_MESSAGE_LENGTH = 4096
>      GL_MAX_DEBUG_LOGGED_MESSAGES = 10
>      GL_MAX_DEBUG_GROUP_STACK_DEPTH = 64
>      GL_MAX_LABEL_LENGTH = 256
>      GL_MAX_UNIFORM_LOCATIONS = 98304
>      GL_MAX_FRAMEBUFFER_WIDTH = 16384
>      GL_MAX_FRAMEBUFFER_HEIGHT = 16384
>      GL_MAX_FRAMEBUFFER_LAYERS = 2048
>      GL_MAX_FRAMEBUFFER_SAMPLES = 16
>      GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS = 12
>      GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS = 12
>      GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS = 12
>      GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS = 12
>      GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS = 12
>      GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS = 12
>      GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS = 72
>      GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS = 72
>      GL_MAX_SHADER_STORAGE_BLOCK_SIZE = 134217728
>      GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES = 200
>      GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET = 2047
>      GL_MAX_VERTEX_ATTRIB_BINDINGS = 16
>    4.4:
>      GL_MAX_VERTEX_ATTRIB_STRIDE = 2048
>    4.5:
>      GL_MAX_CULL_DISTANCES = 8
>      GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES = 8
>    GL_ARB_transform_feedback3:
>      GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 4
>      GL_MAX_VERTEX_STREAMS = 4
>    4.3:
>      GL_NUM_SHADING_LANGUAGE_VERSIONS = 16
>        450
>        440
>        430
>        420
>        410
>        400
>        330
>        150
>        140
>        130
>        120
> 
>        320 es
>        310 es
>        300 es
>        100
> 



More information about the mesa-dev mailing list