3
0
Fork 0
forked from suyu/suyu

gl_shader_cache: Remove code unintentionally committed

This commit is contained in:
ReinUsesLisp 2021-05-05 01:08:16 -03:00 committed by ameerj
parent b725db8709
commit bfa47539f6

View file

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