| Age | Commit message (Collapse) | Author |
|
Shaders: Implemented the FMNMX shader instruction.
|
|
GLRenderer: Remove unused vertex buffer and increase the size of the stream buffer to 128 MB.
|
|
|
|
|
|
buffer to 128 MB.
The stream buffer is where all the vertex data is copied, some games require this to be much bigger than the 4 MB we used to have.
|
|
|
|
This makes the formatting expectations more obvious (e.g. any zero padding specified
is padding that's entirely dedicated to the value being printed, not any pretty-printing
that also gets tacked on).
|
|
Shader instructions MOV_C, MOV_R, and several minor GPU things
|
|
|
|
|
|
instructions.
|
|
|
|
|
|
|
|
|
|
|
|
gl_shader_decompiler: Add GLSLRegisterManager class to track register state.
|
|
|
|
|
|
|
|
|
|
|
|
Shaders: Implemented the FSET instruction.
|
|
This instruction is similar to the FSETP instruction, but it doesn't set a predicate, it sets the destination register to 1.0 if the condition holds, and 0 otherwise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GPU: Support multiple enabled vertex arrays.
|
|
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.
|
|
as the A2BGR10 texture format.
|
|
|
|
Shader opcode decoding
|
|
opengl: Remove unnecessary header inclusions
|
|
|
|
|
|
|
|
ShaderGen: Implemented fsetp/kil and predicated instruction execution.
|
|
gl_resource_manager: Add missing noexcept specifiers to move constructors and assignment operators
|
|
|
|
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.
|
|
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.
|