- Apr 25, 2018
- Apr 24, 2018
- Apr 23, 2018
-
-
Subv authored
This is based on research from nouveau. Many things are currently unknown and will require hwtests in the future. This commit also stubs QueryMode::Write2 to do the same as Write. Nouveau code treats them interchangeably, it is currently unknown what the difference is.
-
Subv authored
The vertex arrays will be copied to the stream buffer one after the other, and the attributes will be set using the ARB_vertex_attrib_binding extension. yuzu now thus requires OpenGL 4.3 or the ARB_vertex_attrib_binding extension.
-
Subv authored
Also removed some dead code and added memory map consistency asserts.
-
Subv authored
GPU: Implement the RGB10_A2 RenderTarget format, it will use the same format as the A2BGR10 texture format.
-
- Apr 21, 2018
-
-
Subv authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
Subv authored
-
Subv authored
Each predicated instruction will be wrapped in an `if (predicate) { instruction_body; }` in the GLSL, where `predicate` is one of the predicate boolean variables previously set by fsetp.
-
Subv authored
Predicate variables are now added to the generated shader code in the form of 'pX' where X is the predicate id. These predicate variables are initialized to false on shader startup and are set via the fsetp instructions. TODO: * Not all the comparison types are implemented. * Only the single-predicate version is implemented.
-
Lioncash authored
-
Lioncash authored
Standard library containers may use std::move_if_noexcept to perform move operations. If a move cannot be performed under these circumstances, then a copy is attempted. Given we only intend for these types to be move-only this can be somewhat problematic. By defining these to be noexcept we prevent cases where copies may be attempted.
-
- Apr 20, 2018
-
-
Lioncash authored
Prevents implicit conversions and scope pollution.
-
Subv authored
-
Subv authored
The 'sched' instruction has a very convoluted encoding, but fortunately it seems to only appear on a fixed interval (once every 4 instructions).
-
Lioncash authored
C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
-
Lioncash authored
C++17 has non-member size() which we can just call where necessary.
-
Lioncash authored
-
Lioncash authored
This function doesn't need to take ownership of the string data being given to it, considering all we do is append the characters to the internal string instance. Instead, use a string view to simply reference the string data without any potential heap allocation. Now anything that is a raw const char* won't need to be converted to a std::string before appending.
-
Lioncash authored
Avoids constructing a std::string just to append a newline character
-