vk_shader_gen_spv: Return when gas mode is used
* Otherwise the shader compiler will crash since OpFunctionEnd was called
This commit is contained in:
@ -71,7 +71,7 @@ void FragmentModule::Generate() {
|
||||
break;
|
||||
case TexturingRegs::FogMode::Gas:
|
||||
WriteGas();
|
||||
break;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user