7
|
1 |
/**
|
|
2 |
* d3d2glsl; generate GLSL programs from bytecode of compiled Direct3D shaders.
|
|
3 |
*
|
|
4 |
* Please see the file LICENSE.txt in the source's root directory.
|
|
5 |
*
|
|
6 |
* This file written by Ryan C. Gordon.
|
|
7 |
*/
|
|
8 |
|
|
9 |
#ifndef __INCL_D3D2GLSL_H_
|
|
10 |
#define __INCL_D3D2GLSL_H_
|
|
11 |
|
|
12 |
#ifdef __cplusplus
|
|
13 |
extern "C" {
|
|
14 |
#endif
|
|
15 |
|
|
16 |
/* !!! FIXME: documentation. */
|
|
17 |
/* !!! FIXME: this needs to change to return a buffer of GLSL code. */
|
|
18 |
int D3D2GLSL_parse(const uint8 *tokenbuf, const uint32 bufsize);
|
|
19 |
|
|
20 |
#ifdef __cplusplus
|
|
21 |
}
|
|
22 |
#endif
|
|
23 |
|
|
24 |
#endif /* include-once blocker. */
|
|
25 |
|
|
26 |
/* end of d3d2glsl.h ... */
|
|
27 |
|