[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:
Bill Currie 2025-01-17 11:56:54 +09:00
parent 7bbe0d991b
commit 393ef8f455

View file

@ -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 =