• Show log

    Commit

  • Hash : fe76d70b
    Author : Amirali Abdolrashidi
    Date : 2025-01-10T14:41:06

    Vulkan: Enable 16-bit norm support for tex buffers
    
      According to the spec for EXT_texture_norm16, it enables texture
    buffers to support the following additional formats:
      * GL_R16_EXT
      * GL_RG16_EXT
      * GL_RGBA16_EXT
    All of the above are unsigned short normalized values.
    
    * Updated validation to support the aforementioned formats in texture
      buffers in case of support for the norm16 extension.
    
    * Updated AdjustViewFormatForSampler() to also support norm16 values.
    
    * Added the condition for advertising textureNorm16EXT that the 16-bit
      UNORM formats above should have the buffer feature bit for texture
      buffer support: VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT
    
      * Added support check for renderSnormEXT after textureNorm16EXT,
        since the check for former currently uses the support for latter
        as a parameter.
    
    * Added unit tests to draw using a texture buffer with norm16 formats.
    
      * Added TextureBufferTestBase in order to test the API calls in the
        extensions and the core ES 3.2 version, which the following suites
        are derived from:
        * TextureBufferTestES31 (existing)
        * TextureBufferTestES32 (new)
    
      * Extended the tests to similar 8-bit formats.
    
    Bug: angleproject:381313704
    Change-Id: I49157e8c2c9b5438eaf8d56c1932d12e56489318
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6169006
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: Charlie Lao <cclao@google.com>
    Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags

  • README.md

  • ANGLE back-ends

    This folder contains shared back-end-specific implementation files. The classes and types in renderer are not specified by GLES. They instead are common to all the various ANGLE implementations.

    See renderer_utils.h for various cross back-end utilties.

    ANGLE Formats

    The ANGLE format class, angle::Format, works as a union between GLES and all the various back-end formats. It can represent any type of format in ANGLE. e.g. Formats in Vulkan that don’t exist in GLES, or DXGI formats that don’t exist in GLES, or Windows/Android surface configs that don’t exist anywhere else.

    The glInternalFormat member of angle::Format represents the “closest” GL format for an ANGLE format. For formats that don’t exist in GLES this will not be exactly what the format represents.

    The back-ends also define their own format tables. See the Vulkan Format table docs and the [D3D11 format table docs][D23D11FormatDocs].

    DXGI Format Info

    DXGI formats are used in both the GL and D3D11 back-end. Therefore the generated info table lives in this common shared location.

    The DXGI info table is generated by gen_dxgi_format_table.py and sources data from dxgi_format_data.json. The main purpose of the table is to convert from a DXGI format to an ANGLE format, where the ANGLE format should have all the necessary information.