这是indexloc提供的服务,不要输入任何密码
Skip to content

Compat: raise maxStorage(Buffers/Texture)InFragmentStage from 0 to 4 #5125

@greggman

Description

@greggman

The only devices that supported less than 4 (0) have been removed from Compat (Mali-T624, Mali-T628, Mail-720). With those gone all remaining devices appear to support at least 4 storage buffers and storage textures in fragment shaders.

Note: the min limit in core is 8 so these limits are still needed for compat mode. We can just raise them to 4 from their current 0 limit.

GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS
                  %of
limit       cnt  total
---------   ---  -----
4        : 1333  39.6%
35       : 1144  34.0%
8        :  379  11.3%
0        :  356  10.6%
16       :   71   2.1%
12       :   40   1.2%
64       :   25   0.7%
10       :   10   0.3%
60       :    4   0.1%
32       :    2   0.1%
8192     :    1   0.0%


devices where GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS < 4
    Mali-T720: (various devices...)
    Mali-T624: (various devices...)
    Mali-T628: (various devices...)
    Adreno (TM) 540 : Redmi Note 5A
    ANGLE (NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0) : ASUS_I001DA
    ANGLE (AMD Radeon HD 6800 Series Direct3D11 vs_5_0 ps_5_0) : MI 5
    ANGLE (Intel(R) HD Graphics 4400 Direct3D11 vs_5_0 ps_5_0) : ONEPLUS A3010
GL_MAX_FRAGMENT_IMAGE_UNIFORMS
                  %of
limit       cnt  total
---------   ---  -----
8        : 1573  46.7%
4        : 1333  39.6%
0        :  356  10.6%
32       :   52   1.5%
96       :   22   0.7%
16       :   17   0.5%
24       :    7   0.2%
60       :    4   0.1%
8192     :    1   0.0%

devices where GL_MAX_FRAGMENT_IMAGE_UNIFORMS < 4
    Mali-T720: (various devices...)
    Mali-T624: (various devices...)
    Mali-T628: (various devices...)
    Adreno (TM) 540 : Redmi Note 5A
    ANGLE (NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0) : ASUS_I001DA
    ANGLE (AMD Radeon HD 6800 Series Direct3D11 vs_5_0 ps_5_0) : MI 5
    ANGLE (Intel(R) HD Graphics 4400 Direct3D11 vs_5_0 ps_5_0) : ONEPLUS A3010

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU APIapi resolvedResolved - waiting for a change to the API specificationcompatWebGPU Compatibility Modeproposal

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions