Merge pull request #1308 from kayru/shader_generator_write_opt

Workaround for MSVC not optimizing away Write() in GeneratePixelShader
This commit is contained in:
skidau
2014-10-20 17:15:53 +11:00
2 changed files with 3 additions and 2 deletions

View File

@ -928,7 +928,7 @@ union AlphaTest
PASS = 2,
};
inline TEST_RESULT TestResult() const
__forceinline TEST_RESULT TestResult() const
{
switch (logic)
{