PP: Recognize the '::' token, and translate appropriately to GLSL/HLSL token.
This commit is contained in:
parent
6212e86faa
commit
523e20dc02
8 changed files with 26 additions and 3 deletions
|
|
@ -21,3 +21,8 @@ struct SA { float f[4]; };
|
|||
out SA outSA;
|
||||
struct SS { float f; S s; };
|
||||
out SS outSS;
|
||||
|
||||
void foo()
|
||||
{
|
||||
SS::f;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue