BARRIER_INTRINSICS
이 페이지에서

BARRIER_INTRINSICS

상수, 백엔드 분류

The barriers: workgroupBarrier() and storageBarrier(), statements with no value that every invocation of a workgroup reaches before any runs on.

import { BARRIER_INTRINSICS } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

const BARRIER_INTRINSICS: ReadonlySet<string>

설명

WGSL spells them bare; GLSL ES 3.00 has no compute stage and no barrier. The CPU oracle runs them through dispatch, which holds each invocation of a workgroup at the barrier until all have arrived.

소스

src/core/intrinsics.ts, 122행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고