-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
b034b5c
commit 8f68b48
Showing
9 changed files
with
130 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# extension GL_EXT_gpu_shader4 : enable | ||
# define TEST | ||
# ifndef A | ||
# endif | ||
|
||
vec3 color; // TLDecl | ||
|
||
struct s { // TypeDecl | ||
vec4 n, f; | ||
bool ok; | ||
}; | ||
|
||
float sdf(vec3 p) { // Function | ||
color = vec3(1.); | ||
return length(p) - 1.; | ||
} | ||
|
||
void main() { | ||
int ijk = 32; | ||
ijk += ijk; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#extension GL_EXT_gpu_shader4:enable | ||
|
||
#define TEST | ||
|
||
#ifndef A | ||
|
||
#endif | ||
|
||
vec3 color;struct s{vec4 n,f;bool ok;}; | ||
float sdf(vec3 p) | ||
{ | ||
color=vec3(1); | ||
return length(p)-1.; | ||
} | ||
void main() | ||
{ | ||
int ijk=32; | ||
ijk+=ijk; | ||
} |
Binary file not shown.