Edit

kc3-lang/angle/scripts/code_generation_hashes/Metal_format_table.json

Branch :

  • Show log

    Commit

  • Author : Le Hoang Quyen
    Date : 2020-08-02 19:38:54
    Hash : f37f1dcb
    Message : Metal: Init format table using Metal-Feature-Set-Tables.pdf - Format table is now initialized using informations from https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf. Previously, it was setup using gl::GenerateMinimumTextureCaps(). - This CL also adds InitializeTextureDataFunction and LoadFunctionMap to mtl::Format. They are needed to properly initialize/convert textures with non-normalized formats. - This CL is prerequisite for integer & floating point format supports. - New test: DXT1CompressedTextureTest.DXT1Alpha (this test was added in the past but was reverted for some reasons). Bug: angleproject:2634 Change-Id: I5eaad812909a49c4c138d0f65fd21a6a199fcb22 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2332144 Commit-Queue: Le Hoang Quyen <le.hoang.q@gmail.com> Reviewed-by: Jonah Ryan-Davis <jonahr@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org>

  • scripts/code_generation_hashes/Metal_format_table.json
  • {
      "src/libANGLE/renderer/angle_format.py":
        "32ba71942c0fd00e6807104f1bb80a3c",
      "src/libANGLE/renderer/angle_format_map.json":
        "aa4a0d3463b76858a75787b9cdec8e98",
      "src/libANGLE/renderer/metal/gen_mtl_format_table.py":
        "27769e4e9cce3b7af18b69d41351c3ed",
      "src/libANGLE/renderer/metal/mtl_format_map.json":
        "b202d7a0349006e2bbd58c603d9cdc28",
      "src/libANGLE/renderer/metal/mtl_format_table_autogen.mm":
        "7a0ee6139ca1e7ec8b8b0a7de9180ef7"
    }