textureDepthMultisampled2dT
On this page

textureDepthMultisampled2dT

Constant in Types

A multisampled depth texture: the depth attachment of an MSAA render target, read one sample at a time with textureLoad and never sampled or compared.

import { textureDepthMultisampled2dT } from 'typeshade/core/ir'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

const textureDepthMultisampled2dT: { readonly kind: "depth-texture"; readonly dim: "2d-ms"; }

Description

WebGPU only, under msaaTextureLoad: the GLSL lowering of a multisampled texture is not supported yet (Rule 10.5).

Source

src/core/ir/types/texture-types.ts, line 189, at commit af54ddad5

Edit this page Report a problem