diff options
| author | 2021-03-19 19:28:31 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:23 -0400 | |
| commit | 260743f371236f7c57b01334b1c3474b15a47c39 (patch) | |
| tree | 312d89fa8215199ef5f7ec1fc84b025df526e107 /src/shader_recompiler/frontend/ir/reg.h | |
| parent | shader: Implement DADD (diff) | |
| download | yuzu-260743f371236f7c57b01334b1c3474b15a47c39.tar.gz yuzu-260743f371236f7c57b01334b1c3474b15a47c39.tar.xz yuzu-260743f371236f7c57b01334b1c3474b15a47c39.zip | |
shader: Add partial rasterizer integration
Diffstat (limited to 'src/shader_recompiler/frontend/ir/reg.h')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/reg.h b/src/shader_recompiler/frontend/ir/reg.h index 8fea05f7b..3845ec5fb 100644 --- a/src/shader_recompiler/frontend/ir/reg.h +++ b/src/shader_recompiler/frontend/ir/reg.h | |||
| @@ -293,12 +293,12 @@ constexpr size_t NUM_REGS = 256; | |||
| 293 | return reg + (-num); | 293 | return reg + (-num); |
| 294 | } | 294 | } |
| 295 | 295 | ||
| 296 | [[nodiscard]] constexpr Reg operator++(Reg& reg) { | 296 | constexpr Reg operator++(Reg& reg) { |
| 297 | reg = reg + 1; | 297 | reg = reg + 1; |
| 298 | return reg; | 298 | return reg; |
| 299 | } | 299 | } |
| 300 | 300 | ||
| 301 | [[nodiscard]] constexpr Reg operator++(Reg& reg, int) { | 301 | constexpr Reg operator++(Reg& reg, int) { |
| 302 | const Reg copy{reg}; | 302 | const Reg copy{reg}; |
| 303 | reg = reg + 1; | 303 | reg = reg + 1; |
| 304 | return copy; | 304 | return copy; |