Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define GPU_ASSERT(cond) \
- do \
- { \
- if( !(cond) ) \
- { \
- printf("%s (%d): %s\n", __FILE__, __LINE__, #cond); \
- char *c__ = nullptr; *c__ = 0; \
- } \
- } while( 0 )
- struct s0 {
- float v1;
- bool v2;
- bool v3;
- };
- struct s1 {
- float3 v0;
- float3 v1;
- float3 v2;
- };
- class s2 {
- union {
- const void *v0;
- const void *v1;
- } v0;
- s1 v1;
- float3 v2;
- float3 v3;
- int v4;
- float3 v5;
- float v6;
- float3 v7;
- float v8;
- };
- struct s3 {
- float3 v0;
- unsigned int v1;
- float3 v2;
- unsigned char v3;
- unsigned char v4;
- s2 v5;
- s0 v6;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement