HLSL: Fix #1203: Declare anonymous members for cbuffer with no ';'
The grammar for no semicolon and no object name for cbuffer/tbuffer was correct, but the production still skipped the anonymous declarations if an identifier followed.
Showing
- Test/baseResults/hlsl.buffer.frag.out 254 additions, 200 deletionsTest/baseResults/hlsl.buffer.frag.out
- Test/hlsl.buffer.frag 12 additions, 2 deletionsTest/hlsl.buffer.frag
- hlsl/hlslGrammar.cpp 3 additions, 3 deletionshlsl/hlslGrammar.cpp
- hlsl/hlslGrammar.h 1 addition, 1 deletionhlsl/hlslGrammar.h
Loading
Please register or sign in to comment