mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
228c67228a
Added following updates to GL_EXT_mesh_shader implementation: 1. Added SPIRV and GLSL test cases 2. Added checks to ensure NV and EXT mesh shader builtins cannot be used interchangeably. 3. Updated the language name by removing the postfix "NV" to MeshShader and TaskShader. 4. Added checks for grammar checking to comply with the spec. 5. Added gl_NumWorkGroups builtin to Mesh shader 6. Fixed data type of gl_PrimitiveLineIndicesEXT and gl_PrimitiveTriangleIndicesEXT 7. Added new constants to the resources table 8. Updates to handle new storage qualifier "taskPayloadSharedEXT" 9. Updated test cases by replacing "taskEXT" with storage qualifier "taskPayloadSharedEXT" Addressed Review comments 1. Fixed instruction description used by glslang disassembly. 2. Updated OpEmitMeshTasksEXT as per spec update 3. Fixed implementation that errors out if there are more then one taskPayloadSharedEXT varjables. 4. Fixed miscellaneous error logs and removed unwanted code. SPIRV 1.6 related build failure fixes - Update SPIRV header to 1.6 - Fix conflict wiht SPIRV 1.6 change, where localSizeId is used for execution mode for mesh/task shaders Enable SPIRV generated for EXT_mesh_shader to be version 1.4 GL_EXT_mesh_shader: Add checks for atomic support and corresponding test cases
112 lines
3.1 KiB
Plaintext
112 lines
3.1 KiB
Plaintext
MaxLights 32
|
|
MaxClipPlanes 6
|
|
MaxTextureUnits 32
|
|
MaxTextureCoords 32
|
|
MaxVertexAttribs 64
|
|
MaxVertexUniformComponents 4096
|
|
MaxVaryingFloats 64
|
|
MaxVertexTextureImageUnits 32
|
|
MaxCombinedTextureImageUnits 80
|
|
MaxTextureImageUnits 32
|
|
MaxFragmentUniformComponents 4096
|
|
MaxDrawBuffers 32
|
|
MaxVertexUniformVectors 128
|
|
MaxVaryingVectors 8
|
|
MaxFragmentUniformVectors 16
|
|
MaxVertexOutputVectors 16
|
|
MaxFragmentInputVectors 15
|
|
MinProgramTexelOffset -8
|
|
MaxProgramTexelOffset 7
|
|
MaxClipDistances 8
|
|
MaxComputeWorkGroupCountX 65535
|
|
MaxComputeWorkGroupCountY 65535
|
|
MaxComputeWorkGroupCountZ 65535
|
|
MaxComputeWorkGroupSizeX 1024
|
|
MaxComputeWorkGroupSizeY 1024
|
|
MaxComputeWorkGroupSizeZ 64
|
|
MaxComputeUniformComponents 1024
|
|
MaxComputeTextureImageUnits 16
|
|
MaxComputeImageUniforms 8
|
|
MaxComputeAtomicCounters 8
|
|
MaxComputeAtomicCounterBuffers 1
|
|
MaxVaryingComponents 60
|
|
MaxVertexOutputComponents 64
|
|
MaxGeometryInputComponents 64
|
|
MaxGeometryOutputComponents 128
|
|
MaxFragmentInputComponents 128
|
|
MaxImageUnits 8
|
|
MaxCombinedImageUnitsAndFragmentOutputs 8
|
|
MaxCombinedShaderOutputResources 8
|
|
MaxImageSamples 0
|
|
MaxVertexImageUniforms 0
|
|
MaxTessControlImageUniforms 0
|
|
MaxTessEvaluationImageUniforms 0
|
|
MaxGeometryImageUniforms 0
|
|
MaxFragmentImageUniforms 8
|
|
MaxCombinedImageUniforms 8
|
|
MaxGeometryTextureImageUnits 16
|
|
MaxGeometryOutputVertices 256
|
|
MaxGeometryTotalOutputComponents 1024
|
|
MaxGeometryUniformComponents 1024
|
|
MaxGeometryVaryingComponents 64
|
|
MaxTessControlInputComponents 128
|
|
MaxTessControlOutputComponents 128
|
|
MaxTessControlTextureImageUnits 16
|
|
MaxTessControlUniformComponents 1024
|
|
MaxTessControlTotalOutputComponents 4096
|
|
MaxTessEvaluationInputComponents 128
|
|
MaxTessEvaluationOutputComponents 128
|
|
MaxTessEvaluationTextureImageUnits 16
|
|
MaxTessEvaluationUniformComponents 1024
|
|
MaxTessPatchComponents 120
|
|
MaxPatchVertices 32
|
|
MaxTessGenLevel 64
|
|
MaxViewports 16
|
|
MaxVertexAtomicCounters 0
|
|
MaxTessControlAtomicCounters 0
|
|
MaxTessEvaluationAtomicCounters 0
|
|
MaxGeometryAtomicCounters 0
|
|
MaxFragmentAtomicCounters 8
|
|
MaxCombinedAtomicCounters 8
|
|
MaxAtomicCounterBindings 1
|
|
MaxVertexAtomicCounterBuffers 0
|
|
MaxTessControlAtomicCounterBuffers 0
|
|
MaxTessEvaluationAtomicCounterBuffers 0
|
|
MaxGeometryAtomicCounterBuffers 0
|
|
MaxFragmentAtomicCounterBuffers 1
|
|
MaxCombinedAtomicCounterBuffers 1
|
|
MaxAtomicCounterBufferSize 16384
|
|
MaxTransformFeedbackBuffers 4
|
|
MaxTransformFeedbackInterleavedComponents 64
|
|
MaxCullDistances 8
|
|
MaxCombinedClipAndCullDistances 8
|
|
MaxSamples 4
|
|
MaxMeshOutputVerticesNV 256
|
|
MaxMeshOutputPrimitivesNV 512
|
|
MaxMeshWorkGroupSizeX_NV 32
|
|
MaxMeshWorkGroupSizeY_NV 1
|
|
MaxMeshWorkGroupSizeZ_NV 1
|
|
MaxTaskWorkGroupSizeX_NV 32
|
|
MaxTaskWorkGroupSizeY_NV 1
|
|
MaxTaskWorkGroupSizeZ_NV 1
|
|
MaxMeshViewCountNV 4
|
|
MaxMeshOutputVerticesEXT 256
|
|
MaxMeshOutputPrimitivesEXT 256
|
|
MaxMeshWorkGroupSizeX_EXT 128
|
|
MaxMeshWorkGroupSizeY_EXT 128
|
|
MaxMeshWorkGroupSizeZ_EXT 128
|
|
MaxTaskWorkGroupSizeX_EXT 128
|
|
MaxTaskWorkGroupSizeY_EXT 128
|
|
MaxTaskWorkGroupSizeZ_EXT 128
|
|
MaxMeshViewCountEXT 4
|
|
MaxDualSourceDrawBuffersEXT 1
|
|
nonInductiveForLoops 1
|
|
whileLoops 1
|
|
doWhileLoops 1
|
|
generalUniformIndexing 1
|
|
generalAttributeMatrixVectorIndexing 1
|
|
generalVaryingIndexing 1
|
|
generalSamplerIndexing 1
|
|
generalVariableIndexing 1
|
|
generalConstantMatrixVectorIndexing 1
|