servo: webgpureport.org crashes servo

Discussed in https://github.com/servo/servo/discussions/30914

<div type='discussions-op-text'>

Originally posted by beaufortfrancois December 22, 2023 When running Servo 0.0.1-5e8f70f with --pref dom.webgpu.enabled, it fails to render https://webgpureport.org/

image

Without the pref, it loads and simply says WebGPU is not supported.

image

Is this a known issue?

</div>

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Why no adapter is found on a Mac M2 is perhaps an issue to file directly at https://github.com/gfx-rs/wgpu ?

I think not because, wgpu-info does found it. We probably need to re-review our backends choices or get for equivalent of gfx.webgpu.ignore-blocklist.

$ RUST_LOG=debug /Applications/Servo.app/Contents/MacOS/servo --pref dom.webgpu.enabled http://webgpureport.org
2023-12-22 19:31:37.657 servo[26666:3561544] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
[2023-12-22T18:31:37Z WARN  constellation::constellation] Trying to get an event-loop from an unknown browsing context group
[2023-12-22T18:31:37Z WARN  constellation::constellation] Pipeline(1,1): Visibility change for closed pipeline
[2023-12-22T18:31:37Z INFO  net::cookie_storage]  === COOKIES SENT: 
[2023-12-22T18:31:37Z INFO  net::http_loader] GET request for http://webgpureport.org/
[2023-12-22T18:31:37Z INFO  net::http_loader] got 301 response for Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("webgpureport.org")), port: None, path: "/", query: None, fragment: None }
[2023-12-22T18:31:37Z INFO  net::cookie_storage]  === COOKIES SENT: 
[2023-12-22T18:31:37Z INFO  net::http_loader] GET request for https://webgpureport.org/
[2023-12-22T18:31:38Z INFO  net::http_loader] got 200 response for Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("webgpureport.org")), port: None, path: "/", query: None, fragment: None }
[2023-12-22T18:31:38Z WARN  script::timers] Resuming an already resumed timer.
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    32:16 Unsupported property declaration: 'color-scheme: light dark;', UnknownProperty("color-scheme")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    47:9 Invalid media rule: (, MediaQueryExpectedFeatureName("prefers-color-scheme")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    88:12 Unsupported property declaration: 'display: flex;', OtherInvalidValue("display")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    89:15 Unsupported property declaration: 'align-items: center;', UnknownProperty("align-items")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    90:19 Unsupported property declaration: 'justify-content: flex-start;', UnknownProperty("justify-content")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    105:12 Unsupported property declaration: 'display: flex;', OtherInvalidValue("display")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    106:19 Unsupported property declaration: 'justify-content: space-between;', UnknownProperty("justify-content")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    112:12 Unsupported property declaration: 'display: inline-flex;', OtherInvalidValue("display")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    113:13 Unsupported property declaration: 'flex-wrap: wrap;', UnknownProperty("flex-wrap")
[2023-12-22T18:31:38Z INFO  script::dom::bindings::refcounted] growing refcounted references by 3
[2023-12-22T18:31:38Z INFO  script::dom::bindings::refcounted] removing 0 refcounted references
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    184:21 Unsupported property declaration: 'pointer-events: all;', OtherInvalidValue("pointer-events")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    224:24 Unsupported property declaration: '-moz-transform: rotate(45deg);', UnknownProperty("-moz-transform")
[2023-12-22T18:31:38Z INFO  script::dom::window] Url:	https://webgpureport.org/
    226:20 Unsupported property declaration: 'box-shadow: 4px 4px 10px rgba(0,0,0,0.8);', UnknownProperty("box-shadow")
[2023-12-22T18:31:38Z INFO  script::dom::bindings::refcounted] growing refcounted references by 7
[2023-12-22T18:31:38Z INFO  script::dom::bindings::refcounted] removing 0 refcounted references
[2023-12-22T18:31:38Z INFO  net::cookie_storage]  === COOKIES SENT: 
[2023-12-22T18:31:38Z INFO  net::http_loader] GET request for https://webgpureport.org/webgpu-notext.svg
[2023-12-22T18:31:38Z INFO  net::cookie_storage]  === COOKIES SENT: 
[2023-12-22T18:31:38Z INFO  net::http_loader] GET request for https://webgpureport.org/index.js
UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
[2023-12-22T18:31:38Z INFO  net::http_loader] got 200 response for "https://webgpureport.org/webgpu-notext.s... (e5e0636d81fe496)"
[2023-12-22T18:31:38Z INFO  net::http_loader] got 200 response for Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("webgpureport.org")), port: None, path: "/index.js", query: None, fragment: None }
[2023-12-22T18:31:38Z INFO  wgpu_core::instance] Adapter Metal AdapterInfo { name: "Apple M1 Pro", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
[2023-12-22T18:31:38Z INFO  wgpu_core::instance] Adapter Metal AdapterInfo { name: "Apple M1 Pro", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
[2023-12-22T18:31:38Z INFO  wgpu_core::global] Dropping Global
[2023-12-22T18:31:38Z WARN  script::dom::gpu] Could not get GPUAdapter ("NotFound")
[2023-12-22T18:31:38Z WARN  servo::main2] Panic hook called.
[2023-12-22T18:31:38Z WARN  constellation::constellation] Failed to send request adapter message on WebGPU channel
called `Result::unwrap()` on an `Err` value: RecvError (thread Script(1,1), at components/script/script_thread.rs:1498)
[2023-12-22T18:31:38Z ERROR servo::main2] called `Result::unwrap()` on an `Err` value: RecvError
[2023-12-22T18:31:38Z WARN  constellation::constellation] creating replacement pipeline for crash page
[2023-12-22T18:31:38Z WARN  script::timers] Resuming an already resumed timer.
[2023-12-22T18:31:38Z INFO  script::dom::bindings::refcounted] growing refcounted references by 3
[2023-12-22T18:31:38Z INFO  script::dom::bindings::refcounted] removing 1 refcounted references

When setting the gfx.webgpu.ignore-blocklist pref in about:config, Firefox Nightly works!

image

Could you try wgpu-info (you may need to install it with cargo install wgpu-info)

 ~/.cargo/bin/wgpu-info 
Adapter 0:
	   Backend: Metal
	      Name: "Apple M1 Pro"
	  VendorID: 0
	  DeviceID: 0
	      Type: IntegratedGpu
	    Driver: ""
	DriverInfo: ""
	 Compliant: true
	Features:
		                                           DEPTH_CLIP_CONTROL: true
		                                              TIMESTAMP_QUERY: true
		                                      INDIRECT_FIRST_INSTANCE: true
		                                                   SHADER_F16: true
		                                           BGRA8UNORM_STORAGE: true
		                                     RG11B10UFLOAT_RENDERABLE: true
		                                        DEPTH32FLOAT_STENCIL8: true
		                                       TEXTURE_COMPRESSION_BC: true
		                                     TEXTURE_COMPRESSION_ETC2: true
		                                     TEXTURE_COMPRESSION_ASTC: true
		                                    TEXTURE_FORMAT_16BIT_NORM: true
		                                 TEXTURE_COMPRESSION_ASTC_HDR: true
		                     TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES: true
		                                    PIPELINE_STATISTICS_QUERY: false
		                                TIMESTAMP_QUERY_INSIDE_PASSES: false
		                                     MAPPABLE_PRIMARY_BUFFERS: true
		                                        TEXTURE_BINDING_ARRAY: true
		                                         BUFFER_BINDING_ARRAY: false
		                               STORAGE_RESOURCE_BINDING_ARRAY: true
		SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING: true
		UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING: true
		                                PARTIALLY_BOUND_BINDING_ARRAY: false
		                                          MULTI_DRAW_INDIRECT: true
		                                    MULTI_DRAW_INDIRECT_COUNT: false
		                                               PUSH_CONSTANTS: true
		                                   ADDRESS_MODE_CLAMP_TO_ZERO: true
		                                 ADDRESS_MODE_CLAMP_TO_BORDER: true
		                                            POLYGON_MODE_LINE: true
		                                           POLYGON_MODE_POINT: false
		                                   CONSERVATIVE_RASTERIZATION: false
		                                      VERTEX_WRITABLE_STORAGE: true
		                                                CLEAR_TEXTURE: true
		                                     SPIRV_SHADER_PASSTHROUGH: false
		                                                    MULTIVIEW: false
		                                       VERTEX_ATTRIBUTE_64BIT: false
		                                  SHADER_UNUSED_VERTEX_OUTPUT: true
		                                                   SHADER_F64: false
		                                                   SHADER_I16: false
		                                       SHADER_PRIMITIVE_INDEX: true
		                                      SHADER_EARLY_DEPTH_TEST: false
		                                         DUAL_SOURCE_BLENDING: true
	Limits:
		                        Max Texture Dimension 1d: 16384
		                        Max Texture Dimension 2d: 16384
		                        Max Texture Dimension 3d: 2048
		                        Max Texture Array Layers: 2048
		                                 Max Bind Groups: 8
		                     Max Bindings Per Bind Group: 65535
		 Max Dynamic Uniform Buffers Per Pipeline Layout: 8
		 Max Dynamic Storage Buffers Per Pipeline Layout: 4
		           Max Sampled Textures Per Shader Stage: 128
		                   Max Samplers Per Shader Stage: 16
		            Max Storage Buffers Per Shader Stage: 31
		           Max Storage Textures Per Shader Stage: 128
		            Max Uniform Buffers Per Shader Stage: 31
		                 Max Uniform Buffer Binding Size: 4294967295
		                 Max Storage Buffer Binding Size: 4294967295
		                                 Max Buffer Size: 17179869184
		                              Max Vertex Buffers: 31
		                           Max Vertex Attributes: 31
		                  Max Vertex Buffer Array Stride: 2048
		                          Max Push Constant Size: 4096
		             Min Uniform Buffer Offset Alignment: 256
		             Min Storage Buffer Offset Alignment: 256
		                Max Inter-Stage Shader Component: 124
		              Max Compute Workgroup Storage Size: 32768
		           Max Compute Invocations Per Workgroup: 1024
		                    Max Compute Workgroup Size X: 1024
		                    Max Compute Workgroup Size Y: 1024
		                    Max Compute Workgroup Size Z: 1024
		            Max Compute Workgroups Per Dimension: 65535
	Downlevel Properties:
		                       Shader Model: Sm5
		                     COMPUTE_SHADERS: true
		           FRAGMENT_WRITABLE_STORAGE: true
		                  INDIRECT_EXECUTION: true
		                         BASE_VERTEX: true
		             READ_ONLY_DEPTH_STENCIL: true
		 NON_POWER_OF_TWO_MIPMAPPED_TEXTURES: true
		                 CUBE_ARRAY_TEXTURES: true
		                 COMPARISON_SAMPLERS: true
		                   INDEPENDENT_BLEND: true
		                      VERTEX_STORAGE: true
		               ANISOTROPIC_FILTERING: true
		                    FRAGMENT_STORAGE: true
		                MULTISAMPLED_SHADING: true
		     DEPTH_TEXTURE_AND_BUFFER_COPIES: true
		       WEBGPU_TEXTURE_FORMAT_SUPPORT: true
		 BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED: true
		           UNRESTRICTED_INDEX_BUFFER: true
		              FULL_DRAW_INDEX_UINT32: true
		                    DEPTH_BIAS_CLAMP: true
		                        VIEW_FORMATS: true
		UNRESTRICTED_EXTERNAL_TEXTURE_COPIES: true
		                SURFACE_VIEW_FORMATS: true
		           NONBLOCKING_QUERY_RESOLVE: true

	 Texture Format Allowed Usages:
		                      ┌──────────┬──────────┬─────────────────┬─────────────────┬───────────────────┐
		             R8Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		             R8Snorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		              R8Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		              R8Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		             R16Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		             R16Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            R16Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            R16Snorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            R16Float: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            Rg8Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            Rg8Snorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		             Rg8Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		             Rg8Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		             R32Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		             R32Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            R32Float: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            Rg16Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            Rg16Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		           Rg16Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		           Rg16Snorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		           Rg16Float: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		          Rgba8Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		      Rgba8UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		          Rgba8Snorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		           Rgba8Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		           Rgba8Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		          Bgra8Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		      Bgra8UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		         Rgb10a2Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		        Rgb10a2Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		        Rg11b10Float: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            Rg32Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            Rg32Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		           Rg32Float: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		          Rgba16Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		          Rgba16Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		         Rgba16Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		         Rgba16Snorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		         Rgba16Float: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		          Rgba32Uint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		          Rgba32Sint: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		         Rgba32Float: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		            Stencil8: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		        Depth16Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │ RENDER_ATTACHMENT │
		        Depth32Float: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │ RENDER_ATTACHMENT │
		Depth32FloatStencil8: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │ RENDER_ATTACHMENT │
		         Depth24Plus: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │ RENDER_ATTACHMENT │
		 Depth24PlusStencil8: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │ RENDER_ATTACHMENT │
		        Rgb9e5Ufloat: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │ STORAGE_BINDING │ RENDER_ATTACHMENT │
		        Bc1RgbaUnorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		    Bc1RgbaUnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        Bc2RgbaUnorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		    Bc2RgbaUnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        Bc3RgbaUnorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		    Bc3RgbaUnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		           Bc4RUnorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		           Bc4RSnorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		          Bc5RgUnorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		          Bc5RgSnorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       Bc6hRgbUfloat: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        Bc6hRgbFloat: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        Bc7RgbaUnorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		    Bc7RgbaUnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       Etc2Rgb8Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   Etc2Rgb8UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		     Etc2Rgb8A1Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		 Etc2Rgb8A1UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		      Etc2Rgba8Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		  Etc2Rgba8UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         EacR11Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         EacR11Snorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        EacRg11Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        EacRg11Snorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB4x4Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   AstcB4x4UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         AstcB4x4Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB5x4Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   AstcB5x4UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         AstcB5x4Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB5x5Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   AstcB5x5UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         AstcB5x5Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB6x5Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   AstcB6x5UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         AstcB6x5Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB6x6Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   AstcB6x6UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         AstcB6x6Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB8x5Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   AstcB8x5UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         AstcB8x5Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB8x6Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   AstcB8x6UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         AstcB8x6Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB8x8Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		   AstcB8x8UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		         AstcB8x8Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		      AstcB10x5Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		  AstcB10x5UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        AstcB10x5Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		      AstcB10x6Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		  AstcB10x6UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        AstcB10x6Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		      AstcB10x8Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		  AstcB10x8UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		        AstcB10x8Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		     AstcB10x10Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		 AstcB10x10UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB10x10Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		     AstcB12x10Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		 AstcB12x10UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB12x10Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		     AstcB12x12Unorm: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		 AstcB12x12UnormSrgb: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		       AstcB12x12Hdr: │ COPY_SRC │ COPY_DST │ TEXTURE_BINDING │                 │                   │
		                      └──────────┴──────────┴─────────────────┴─────────────────┴───────────────────┘

	 Texture Format Flags:
		                      ┌────────────┬────────────────┬────────────────┬────────────────┬─────────────────┬─────────────────────┬────────────────────┬───────────┐
		             R8Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │ STORAGE_READ_WRITE │ BLENDABLE │
		             R8Snorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		              R8Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		              R8Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		             R16Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		             R16Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		            R16Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		            R16Snorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		            R16Float: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │ STORAGE_READ_WRITE │ BLENDABLE │
		            Rg8Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		            Rg8Snorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		             Rg8Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │                    │           │
		             Rg8Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │                    │           │
		             R32Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		             R32Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		            R32Float: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │ STORAGE_READ_WRITE │ BLENDABLE │
		            Rg16Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │                    │           │
		            Rg16Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │                    │           │
		           Rg16Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		           Rg16Snorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		           Rg16Float: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		          Rgba8Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │ STORAGE_READ_WRITE │ BLENDABLE │
		      Rgba8UnormSrgb: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		          Rgba8Snorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		           Rgba8Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		           Rgba8Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		          Bgra8Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		      Bgra8UnormSrgb: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		         Rgb10a2Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │                    │           │
		        Rgb10a2Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		        Rg11b10Float: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		            Rg32Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │                    │           │
		            Rg32Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │                    │           │
		           Rg32Float: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		          Rgba16Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		          Rgba16Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		         Rgba16Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		         Rgba16Snorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		         Rgba16Float: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │ STORAGE_READ_WRITE │ BLENDABLE │
		          Rgba32Uint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		          Rgba32Sint: │            │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │                     │ STORAGE_READ_WRITE │           │
		         Rgba32Float: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │ STORAGE_READ_WRITE │ BLENDABLE │
		            Stencil8: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		        Depth16Unorm: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │           │
		        Depth32Float: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │           │
		Depth32FloatStencil8: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │           │
		         Depth24Plus: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │           │
		 Depth24PlusStencil8: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │           │
		        Rgb9e5Ufloat: │ FILTERABLE │ MULTISAMPLE_X2 │ MULTISAMPLE_X4 │                │                 │ MULTISAMPLE_RESOLVE │                    │ BLENDABLE │
		        Bc1RgbaUnorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		    Bc1RgbaUnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        Bc2RgbaUnorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		    Bc2RgbaUnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        Bc3RgbaUnorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		    Bc3RgbaUnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		           Bc4RUnorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		           Bc4RSnorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		          Bc5RgUnorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		          Bc5RgSnorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       Bc6hRgbUfloat: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        Bc6hRgbFloat: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        Bc7RgbaUnorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		    Bc7RgbaUnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       Etc2Rgb8Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   Etc2Rgb8UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		     Etc2Rgb8A1Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		 Etc2Rgb8A1UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		      Etc2Rgba8Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		  Etc2Rgba8UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         EacR11Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         EacR11Snorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        EacRg11Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        EacRg11Snorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB4x4Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   AstcB4x4UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         AstcB4x4Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB5x4Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   AstcB5x4UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         AstcB5x4Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB5x5Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   AstcB5x5UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         AstcB5x5Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB6x5Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   AstcB6x5UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         AstcB6x5Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB6x6Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   AstcB6x6UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         AstcB6x6Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB8x5Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   AstcB8x5UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         AstcB8x5Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB8x6Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   AstcB8x6UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         AstcB8x6Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB8x8Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		   AstcB8x8UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		         AstcB8x8Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		      AstcB10x5Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		  AstcB10x5UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        AstcB10x5Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		      AstcB10x6Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		  AstcB10x6UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        AstcB10x6Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		      AstcB10x8Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		  AstcB10x8UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		        AstcB10x8Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		     AstcB10x10Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		 AstcB10x10UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB10x10Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		     AstcB12x10Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		 AstcB12x10UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB12x10Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		     AstcB12x12Unorm: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		 AstcB12x12UnormSrgb: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		       AstcB12x12Hdr: │ FILTERABLE │                │                │                │                 │                     │                    │           │
		                      └────────────┴────────────────┴────────────────┴────────────────┴─────────────────┴─────────────────────┴────────────────────┴───────────┘