shader: Add partial rasterizer integration
This commit is contained in:
parent
832f1169d6
commit
33090a74dd
54 changed files with 1929 additions and 568 deletions
|
@ -293,12 +293,12 @@ constexpr size_t NUM_REGS = 256;
|
|||
return reg + (-num);
|
||||
}
|
||||
|
||||
[[nodiscard]] constexpr Reg operator++(Reg& reg) {
|
||||
constexpr Reg operator++(Reg& reg) {
|
||||
reg = reg + 1;
|
||||
return reg;
|
||||
}
|
||||
|
||||
[[nodiscard]] constexpr Reg operator++(Reg& reg, int) {
|
||||
constexpr Reg operator++(Reg& reg, int) {
|
||||
const Reg copy{reg};
|
||||
reg = reg + 1;
|
||||
return copy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue