규칙 1.2
1장, 소개 구현만
GLSL ES 3.00 is a target of the compiler; it must not be the definition of a construct.
규칙 본문과 그 아래 항목은 설계 문서에 적힌 컴파일러 원문이라 한국어 페이지에서도 영어로 둡니다.
근거
a construct GLSL ES 3.00 lacks is still a construct of the language; the GLSL writer either lowers it or fails closed (§10).
출처
the roadmap’s second rule, “make what does not compile, compile”, and AGENTS.md.
검증 방식
구현만 이 규칙을 따르고, 아직 확인하는 테스트는 없습니다. 아래 파일이 Implements: 태그로 규칙을 가리킵니다.
컴파일러가 이 규칙을 적용하는 곳을 규칙이 직접 적은 내용입니다.
src/core/passes/required-caps.ts (assertCaps), which fails a GLSL emit closed on a capability the writer has no row for.
커밋 26de7be8에서 이 규칙을 확인하는 파일입니다. 파일마다 규칙을 처음 가리키는 줄로 연결했습니다.
함께 보기
소스
커밋 26de7be8의 규칙 원문:
docs/language-design.md:44(설계 문서)reqs/rules/RULE-0102.md(추적 항목)