diff options
author | José Fonseca <[email protected]> | 2011-01-24 09:48:45 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-01-24 17:27:14 +0000 |
commit | 92badb4c8c6f603ff823d4aeb87c27582648ba6d (patch) | |
tree | 490ea1911cd5eb03af7fdc8260f7bf1f5b59d90d /src/glsl/lower_instructions.cpp | |
parent | d14764815cdd2d92545a2d1127e2d1bf348aa035 (diff) |
draw: Do not use LLVM's opaque types.
Contrary what the name may suggest, LLVM's opaque types are used for
recursive types -- types whose definition refers itself -- so opaque
types correspond to pre-declaring a structure in C. E.g.:
struct node;
struct link {
....
struct node *next;
};
struct node {
struct link link;
}
Void pointers are also disallowed by LLVM. So the suggested way of creating
what's commonly referred as "opaque pointers" is using byte pointer (i.e.,
uint8_t * ).
Diffstat (limited to 'src/glsl/lower_instructions.cpp')
0 files changed, 0 insertions, 0 deletions