Commit 8df3e5f2 by Alexey Knyazev Committed by Commit Bot

Metal: update format caps

Added MTLGPUFamilyApple6 and MTLGPUFamilyApple7 caps. Bug: angleproject:2634, angleproject:5672 Change-Id: Icc35f823cdd018246a8ac3b1179adc81584fb204 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2846832Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarLe Hoang Quyen <le.hoang.q@gmail.com> Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
parent 9b4fd545
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"src/libANGLE/renderer/metal/gen_mtl_format_table.py": "src/libANGLE/renderer/metal/gen_mtl_format_table.py":
"aabe2ff87c8d03cae69125535089e392", "aabe2ff87c8d03cae69125535089e392",
"src/libANGLE/renderer/metal/mtl_format_map.json": "src/libANGLE/renderer/metal/mtl_format_map.json":
"fa859c45367bd80c055793ffb209b4fc", "1177b4929d1effd50be45b4347dce2a0",
"src/libANGLE/renderer/metal/mtl_format_table_autogen.mm": "src/libANGLE/renderer/metal/mtl_format_table_autogen.mm":
"f7fec5457e13020368121f594c48a17a" "3a2466058c38a51a03f9c783188f4987"
} }
\ No newline at end of file
...@@ -509,7 +509,7 @@ ...@@ -509,7 +509,7 @@
"filterable": "false", "filterable": "false",
"writable": "true", "writable": "true",
"blendable": "false", "blendable": "false",
"multisample": "display->supportsMacGPUFamily(1)", "multisample": "display->supportsEitherGPUFamily(7, 1)",
"resolve": "false", "resolve": "false",
"colorRenderable": "true" "colorRenderable": "true"
}, },
...@@ -517,7 +517,7 @@ ...@@ -517,7 +517,7 @@
"filterable": "false", "filterable": "false",
"writable": "true", "writable": "true",
"blendable": "false", "blendable": "false",
"multisample": "display->supportsMacGPUFamily(1)", "multisample": "display->supportsEitherGPUFamily(7, 1)",
"resolve": "false", "resolve": "false",
"colorRenderable": "true" "colorRenderable": "true"
}, },
...@@ -557,7 +557,7 @@ ...@@ -557,7 +557,7 @@
"filterable": "display->supportsMacGPUFamily(1)", "filterable": "display->supportsMacGPUFamily(1)",
"writable": "true", "writable": "true",
"blendable": "true", "blendable": "true",
"multisample": "display->supportsMacGPUFamily(1)", "multisample": "display->supportsEitherGPUFamily(7, 1)",
"resolve": "display->supportsMacGPUFamily(1)", "resolve": "display->supportsMacGPUFamily(1)",
"colorRenderable": "true" "colorRenderable": "true"
}, },
...@@ -565,7 +565,7 @@ ...@@ -565,7 +565,7 @@
"filterable": "display->supportsMacGPUFamily(1)", "filterable": "display->supportsMacGPUFamily(1)",
"writable": "true", "writable": "true",
"blendable": "display->supportsMacGPUFamily(1)", "blendable": "display->supportsMacGPUFamily(1)",
"multisample": "display->supportsMacGPUFamily(1)", "multisample": "display->supportsEitherGPUFamily(7, 1)",
"resolve": "display->supportsMacGPUFamily(1)", "resolve": "display->supportsMacGPUFamily(1)",
"colorRenderable": "true" "colorRenderable": "true"
}, },
...@@ -829,6 +829,48 @@ ...@@ -829,6 +829,48 @@
}, },
"MTLPixelFormatASTC_12x12_sRGB":{ "MTLPixelFormatASTC_12x12_sRGB":{
"filterable": "display->supportsAppleGPUFamily(2)" "filterable": "display->supportsAppleGPUFamily(2)"
},
"MTLPixelFormatASTC_4x4_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_5x4_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_5x5_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_6x5_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_6x6_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_8x5_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_8x6_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_8x8_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_10x5_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_10x6_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_10x8_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_10x10_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_12x10_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
},
"MTLPixelFormatASTC_12x12_HDR":{
"filterable": "display->supportsAppleGPUFamily(6)"
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment