mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-07 01:42:04 +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
|
||||
static const char *glsl_geometry_functions =
|
||||
SRC_LINE
|
||||
"void EmitStreamVertex(int stream);" "\n"
|
||||
"void EndStreamPrimitive(int stream);" "\n"
|
||||
"void EmitVertex();" "\n"
|
||||
"void EndPrimitive();" "\n";
|
||||
"void EmitStreamVertex(int stream) = " SPV(OpEmitStreamVertex) ";" "\n"
|
||||
"void EndStreamPrimitive(int stream) = " SPV(OpEndStreamPrimitive) ";" "\n"
|
||||
"void EmitVertex() = " SPV(OpEmitVertex) ";" "\n"
|
||||
"void EndPrimitive() = " SPV(OpEndPrimitive) ";" "\n";
|
||||
|
||||
//fragment processing functions
|
||||
static const char *glsl_fragment_functions =
|
||||
|
|
Loading…
Reference in a new issue