|
|
|
@ -437,7 +437,7 @@ std::unique_ptr<GraphicsPipeline> ShaderCache::CreateGraphicsPipeline( |
|
|
|
const std::string code{EmitGLASM(profile, runtime_info, program, binding)}; |
|
|
|
assembly_programs[stage_index] = CompileProgram(code, AssemblyStage(stage_index)); |
|
|
|
} else { |
|
|
|
const auto code{EmitGLSL(profile, program, binding)}; |
|
|
|
const auto code{EmitGLSL(profile, runtime_info, program, binding)}; |
|
|
|
OGLShader shader; |
|
|
|
AttachShader(Stage(stage_index), source_program.handle, code); |
|
|
|
} |
|
|
|
|