mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-19 00:56:47 +00:00
gl_shader_cache: Remove code unintentionally committed
This commit is contained in:
parent
b725db8709
commit
bfa47539f6
|
@ -266,9 +266,6 @@ std::unique_ptr<GraphicsProgram> ShaderCache::CreateGraphicsProgram(
|
||||||
infos[stage_index] = &program.info;
|
infos[stage_index] = &program.info;
|
||||||
|
|
||||||
const std::vector<u32> code{EmitSPIRV(profile, program, binding)};
|
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);
|
AddShader(Stage(stage_index), gl_program.handle, code);
|
||||||
}
|
}
|
||||||
LinkProgram(gl_program.handle);
|
LinkProgram(gl_program.handle);
|
||||||
|
|
Loading…
Reference in a new issue