File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1149,18 +1149,18 @@ Caps GenerateMinimumCaps(const Version &clientVersion, const Extensions &extensi
11491149 caps.maxVertexAttribStride = 2048 ;
11501150
11511151 // Table 20.43
1152- caps.maxShaderAtomicCounterBuffers [ShaderType::Vertex] = 0 ;
1153- caps.maxShaderAtomicCounters [ShaderType::Vertex] = 0 ;
1154- caps.maxShaderImageUniforms [ShaderType::Vertex] = 0 ;
1155- caps.maxShaderStorageBlocks [ShaderType::Vertex] = 0 ;
1152+ caps.maxShaderAtomicCounterBuffers [ShaderType::Vertex] = 256 ;
1153+ caps.maxShaderAtomicCounters [ShaderType::Vertex] = 256 ;
1154+ caps.maxShaderImageUniforms [ShaderType::Vertex] = 256 ;
1155+ caps.maxShaderStorageBlocks [ShaderType::Vertex] = 256 ;
11561156
11571157 // Table 20.44
11581158 caps.maxShaderUniformComponents [ShaderType::Fragment] = 1024 ;
11591159 caps.maxFragmentUniformVectors = 256 ;
1160- caps.maxShaderAtomicCounterBuffers [ShaderType::Fragment] = 0 ;
1161- caps.maxShaderAtomicCounters [ShaderType::Fragment] = 0 ;
1162- caps.maxShaderImageUniforms [ShaderType::Fragment] = 0 ;
1163- caps.maxShaderStorageBlocks [ShaderType::Fragment] = 0 ;
1160+ caps.maxShaderAtomicCounterBuffers [ShaderType::Fragment] = 256 ;
1161+ caps.maxShaderAtomicCounters [ShaderType::Fragment] = 256 ;
1162+ caps.maxShaderImageUniforms [ShaderType::Fragment] = 256 ;
1163+ caps.maxShaderStorageBlocks [ShaderType::Fragment] = 256 ;
11641164 caps.minProgramTextureGatherOffset = caps.minProgramTexelOffset ;
11651165 caps.maxProgramTextureGatherOffset = caps.maxProgramTexelOffset ;
11661166
You can’t perform that action at this time.
0 commit comments