| 1 |
#include <stdarg.h> |
| 2 |
#include <stdbool.h> |
| 3 |
#include <stdint.h> |
| 4 |
#include <stdlib.h> |
| 5 |
|
| 6 |
enum BindingType |
| 7 |
#ifdef __cplusplus |
| 8 |
: uint32_t |
| 9 |
#endif // __cplusplus |
| 10 |
{ |
| 11 |
Buffer = 0, |
| 12 |
NotBuffer = 1, |
| 13 |
}; |
| 14 |
#ifndef __cplusplus |
| 15 |
typedef uint32_t BindingType; |
| 16 |
#endif // __cplusplus |
| 17 |
|
| 18 |
typedef struct BindGroupLayoutEntry { |
| 19 |
BindingType ty; |
| 20 |
} BindGroupLayoutEntry; |
| 21 |
|
| 22 |
#ifdef __cplusplus |
| 23 |
extern "C" { |
| 24 |
#endif // __cplusplus |
| 25 |
|
| 26 |
void root(struct BindGroupLayoutEntry entry); |
| 27 |
|
| 28 |
#ifdef __cplusplus |
| 29 |
} // extern "C" |
| 30 |
#endif // __cplusplus |