summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-05 06:08:16 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:30 +0200
commitbfa47539f6d5779a80d6fb23ae49c1d34e01ae93 (patch)
tree4a417674370d510153a54e353526af97f3bd8afc /src
parentshader: Fixup SPIR-V emit header namespaces (diff)
downloadyuzu-bfa47539f6d5779a80d6fb23ae49c1d34e01ae93.tar
yuzu-bfa47539f6d5779a80d6fb23ae49c1d34e01ae93.tar.gz
yuzu-bfa47539f6d5779a80d6fb23ae49c1d34e01ae93.tar.bz2
yuzu-bfa47539f6d5779a80d6fb23ae49c1d34e01ae93.tar.lz
yuzu-bfa47539f6d5779a80d6fb23ae49c1d34e01ae93.tar.xz
yuzu-bfa47539f6d5779a80d6fb23ae49c1d34e01ae93.tar.zst
yuzu-bfa47539f6d5779a80d6fb23ae49c1d34e01ae93.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 6585817bc..9bbdfeb62 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -266,9 +266,6 @@ std::unique_ptr<GraphicsProgram> ShaderCache::CreateGraphicsProgram(
infos[stage_index] = &program.info;
const std::vector<u32> code{EmitSPIRV(profile, program, binding)};
- FILE* file = fopen("D:\\shader.spv", "wb");
- fwrite(code.data(), 4, code.size(), file);
- fclose(file);
AddShader(Stage(stage_index), gl_program.handle, code);
}
LinkProgram(gl_program.handle);