File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2679,11 +2679,12 @@ namespace GPUTextureUsage {
26792679 [$maximum mipLevel count$](|descriptor|.{{GPUTextureDescriptor/dimension}}, |descriptor|.{{GPUTextureDescriptor/size}}).
26802680
26812681 - |descriptor|.{{GPUTextureDescriptor/usage}} must be a combination of {{GPUTextureUsage}} values.
2682- - If |descriptor|.{{GPUTextureDescriptor/usage}} includes the {{GPUTextureUsage/RENDER_ATTACHMENT}} bit,
2683- |descriptor|.{{GPUTextureDescriptor/format}} must be a [=renderable format=].
2684- - If |descriptor|.{{GPUTextureDescriptor/usage}} includes the {{GPUTextureUsage/STORAGE_BINDING}} bit,
2685- |descriptor|.{{GPUTextureDescriptor/format}} must be listed in [[#plain-color-formats]] table
2686- with {{GPUTextureUsage/STORAGE_BINDING}} capability.
2682+ - If |descriptor|.{{GPUTextureDescriptor/usage}} includes the {{GPUTextureUsage/RENDER_ATTACHMENT}} bit:
2683+ - |descriptor|.{{GPUTextureDescriptor/format}} must be a [=renderable format=].
2684+ - |descriptor|.{{GPUTextureDescriptor/dimension}} must be {{GPUTextureDimension/"2d"}}.
2685+ - If |descriptor|.{{GPUTextureDescriptor/usage}} includes the {{GPUTextureUsage/STORAGE_BINDING}} bit:
2686+ - |descriptor|.{{GPUTextureDescriptor/format}} must be listed in [[#plain-color-formats]] table
2687+ with {{GPUTextureUsage/STORAGE_BINDING}} capability.
26872688 - For each |viewFormat| in |descriptor|.{{GPUTextureDescriptor/viewFormats}},
26882689 |descriptor|.{{GPUTextureDescriptor/format}} and |viewFormat| must be
26892690 [=texture view format compatible=].
You can’t perform that action at this time.
0 commit comments