| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
|
|
the vertex shader.
|
|
|
|
|
|
Shaders: Implemented the FMNMX shader instruction.
|
|
|
|
|
|
|
|
|
|
gl_shader_decompiler: Implement MOV32I, partially implement I2I, I2F
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shaders: Implemented the FSET instruction.
|
|
The hardware allows for some rather complicated operations to be performed on the data during the copy, this is not implemented.
Only same-format same-size raw copies are implemented for now.
|
|
|
|
|
|
|
|
The rest are just macro shim registers.
|
|
processor.
It doesn't belong in the PFIFO handler.
|
|
|
|
|
|
|
|
|
|
GPU: Added asserts to our code for handling the QUERY_GET GPU command.
|
|
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.
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
* gl_shader_gen: Support vertical/horizontal viewport flipping.
* fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
|
|
|
|
Misc gpu improvements
|
|
Shader decompiler changes part 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|