2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

gl_shader_decompiler: Remove UNREACHABLE when setting RZ

This commit is contained in:
ReinUsesLisp 2018-11-20 22:23:10 -03:00
parent b55c7bbcf7
commit 423a3ed2c8

View file

@ -761,8 +761,7 @@ private:
u64 dest_num_components, u64 value_num_components, u64 dest_elem,
bool precise) {
if (reg == Register::ZeroIndex) {
LOG_CRITICAL(HW_GPU, "Cannot set Register::ZeroIndex");
UNREACHABLE();
// Setting RZ is a nop in hardware.
return;
}