Merge pull request #1754 from ReinUsesLisp/zero-register
gl_shader_decompiler: Remove UNREACHABLE when setting RZ
This commit is contained in:
commit
bb175ab430
|
@ -761,8 +761,7 @@ private:
|
||||||
u64 dest_num_components, u64 value_num_components, u64 dest_elem,
|
u64 dest_num_components, u64 value_num_components, u64 dest_elem,
|
||||||
bool precise) {
|
bool precise) {
|
||||||
if (reg == Register::ZeroIndex) {
|
if (reg == Register::ZeroIndex) {
|
||||||
LOG_CRITICAL(HW_GPU, "Cannot set Register::ZeroIndex");
|
// Setting RZ is a nop in hardware.
|
||||||
UNREACHABLE();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue