Browse Source
Merge pull request #1754 from ReinUsesLisp/zero-register
gl_shader_decompiler: Remove UNREACHABLE when setting RZ
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
src/video_core/renderer_opengl/gl_shader_decompiler.cpp
|
|
|
@ -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; |
|
|
|
} |
|
|
|
|
|
|
|
|