규칙 10.5
10장, 확장과 기능 테스트
A GLSL lowering of a WGSL-only feature (the family #130 to #139: 1d, multisampled, depth read both ways, gather, cube array, storage texture, read-write storage, atomics, and barriers) is deferred by the maintainer, and must not be written until the deferral is lifted. The deferral is lifted for read-write storage, atomics, barriers and the compute entry (#137, #138, #139): a compute entry lowers to the pass program of change 0054, its memory as words, its barriers and atomic operations as the cuts of the phased order (Rule 11.8, surface §23 and §25). It is lifted for the storage texture (#136) in a compute entry on WebGL2 alone: the pass program holds the texture as a memory root of words, read in from the texture before the first pass and drawn back into it after the last, and a format the tier does not support yet is refused as “not supported yet on the WebGL2 tier (Rule 10.5)”, a fallback for it being later work (OD-11; change 0054, fifth amendment, surface §33). Until it is lifted for the others (#131 to #135, and #136 in a draw), each of those features must fail closed on GLSL by Rule 10.3, and the deferral must be written where the refusal is.
규칙 본문과 그 아래 항목은 설계 문서에 적힌 컴파일러 원문이라 한국어 페이지에서도 영어로 둡니다.
근거
the lowering family is one design (#130’s fidelity classes) and is worked one item at a time when the maintainer says so.
출처
검증 방식
테스트로 확인합니다. 테스트나 게이트 스크립트, CI 워크플로가 이 규칙을 가리키고, 아래 파일 가운데 하나라도 규칙을 더는 가리키지 않으면 추적 검사가 실패합니다.
컴파일러가 이 규칙을 적용하는 곳을 규칙이 직접 적은 내용입니다.
review; capability-reachability.test.ts records which target each capability has a row for.
커밋 af54ddad5에서 이 규칙을 확인하는 파일입니다. 파일마다 규칙을 처음 가리키는 줄로 연결했습니다.
설명하는 절
커밋 af54ddad5의 언어 문서에서 이 규칙을 설명하는 절입니다.
- §23 Atomics
- §24 Module variables
- §25 Barriers, and running a workgroup on the CPU
- §33 A storage texture
- §36 The WGSL-only textures:
texture_1d,texture_cube_array,textureGather - §37 A multisampled texture, read one sample at a time
- §67 Calling an entry point from host code
- §77 The subgroup built-in functions:
subgroupAddand the twenty beside it
함께 보기
소스
커밋 af54ddad5의 규칙 원문:
docs/language-design.md:1426(설계 문서)reqs/rules/RULE-1005.md(추적 항목)