gl_shader_cache: Remove code unintentionally committed

master
ReinUsesLisp 2021-05-05 01:08:16 +07:00 committed by ameerj
parent b725db8709
commit bfa47539f6
1 changed files with 0 additions and 3 deletions

@ -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);