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 New Issue
Block a user