WorkgroupShape
이 페이지에서

WorkgroupShape

타입, IR 분류

컴퓨트 진입점 워크그룹의 x, y, z 크기입니다. WGSL의 @workgroup_size(x, y, z)에 해당합니다.

import type { WorkgroupShape } from 'typeshade'
import type { WorkgroupShape } from 'typeshade/core/ir'

설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.

구문

type WorkgroupShape = readonly [number, number, number];

소스

src/core/ir/nodes/entry-and-directive.ts, 12행, 커밋 af54ddad5 기준

이 페이지 편집 문제 보고