Update slang_process.cpp

This commit is contained in:
Twinaphex 2018-03-22 15:24:03 +01:00 committed by GitHub
parent c318d05803
commit 0be2b76892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,10 +386,12 @@ bool slang_process(
vs->set_options(options);
ps->set_options(options);
#if 0
CompilerGLSL::Options glsl_options;
glsl_options.vertex.flip_vert_y = true;
((CompilerGLSL*)vs)->set_options(glsl_options);
((CompilerGLSL*)ps)->set_options(glsl_options);
#endif
/* not exactly a vertex attribute but this remaps
* float2 FragCoord :TEXCOORD# to float4 FragCoord : SV_POSITION */