mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 08:25:45 -04:00
PostProcessingShader: Fix errors in shader parsing
This commit is contained in:
@ -155,6 +155,7 @@ void ShaderGen::WriteHeader(std::stringstream& ss)
|
||||
{
|
||||
ss << "#define HLSL 1\n";
|
||||
ss << "#define roundEven round\n";
|
||||
ss << "#define mix lerp\n";
|
||||
ss << "#define CONSTANT static const\n";
|
||||
ss << "#define VECTOR_EQ(a, b) (all((a) == (b)))\n";
|
||||
ss << "#define VECTOR_NEQ(a, b) (any((a) != (b)))\n";
|
||||
|
Reference in New Issue
Block a user