mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 09:02:08 +00:00
[qfcc] Define the geometry functions
Now all my glsl shaders build, though most likely none of them correctly. However, I'm finally out of that tunnel... only to find myself in a moonlit forest fill with the sounds of wolves (at least, I hope they're wolves).
This commit is contained in:
parent
7bbe0d991b
commit
393ef8f455
1 changed files with 4 additions and 4 deletions
|
@ -1159,10 +1159,10 @@ SRC_LINE
|
||||||
//geometry shader functions
|
//geometry shader functions
|
||||||
static const char *glsl_geometry_functions =
|
static const char *glsl_geometry_functions =
|
||||||
SRC_LINE
|
SRC_LINE
|
||||||
"void EmitStreamVertex(int stream);" "\n"
|
"void EmitStreamVertex(int stream) = " SPV(OpEmitStreamVertex) ";" "\n"
|
||||||
"void EndStreamPrimitive(int stream);" "\n"
|
"void EndStreamPrimitive(int stream) = " SPV(OpEndStreamPrimitive) ";" "\n"
|
||||||
"void EmitVertex();" "\n"
|
"void EmitVertex() = " SPV(OpEmitVertex) ";" "\n"
|
||||||
"void EndPrimitive();" "\n";
|
"void EndPrimitive() = " SPV(OpEndPrimitive) ";" "\n";
|
||||||
|
|
||||||
//fragment processing functions
|
//fragment processing functions
|
||||||
static const char *glsl_fragment_functions =
|
static const char *glsl_fragment_functions =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue