aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines
AgeCommit message (Collapse)Author
2018-06-03Merge pull request #500 from Subv/long_queriesbunnei
GPU: Partial implementation of long GPU queries.
2018-06-03GPU: Partial implementation of long GPU queries.Subv
Long queries write a 128-bit result value to memory, which consists of a 64 bit query value and a 64 bit timestamp. In this implementation, only select=Zero of the Crop unit is implemented, this writes the query sequence as a 64 bit value, and a 0u64 value for the timestamp, since we emulate an infinitely fast GPU. This specific type was hwtested, but more rigorous tests should be performed in the future for the other types.
2018-06-03gl_shader_decompiler: Implement TEXS component mask.bunnei
2018-06-03Merge pull request #494 from bunnei/shader-texbunnei
gl_shader_decompiler: Implement TEX, fixes for TEXS.
2018-06-03gl_shader_decompiler: Implement RRO as a register move.bunnei
2018-05-31gl_shader_decompiler: Implement TEX instruction.bunnei
2018-05-31gl_shader_decompiler: Support multi-destination for TEXS.bunnei
2018-05-30Merge pull request #489 from Subv/vertexidbunnei
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
2018-05-30Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in ↵Subv
the vertex shader.
2018-05-29gl_shader_decompiler: Partially implement F2F_R instruction.bunnei
2018-05-25shader_bytecode: Implement other variants of FMNMX.bunnei
2018-05-20Merge pull request #458 from Subv/fmnmxbunnei
Shaders: Implemented the FMNMX shader instruction.
2018-05-20Shaders: Implemented the FMNMX shader instruction.Subv
2018-05-19ShadersDecompiler: Added decoding for the PSETP instruction.Subv
2018-04-29maxwell_3d: Reset vertex counts after drawing.bunnei
2018-04-29shader_bytecode: Add decoding for FMNMX instruction.bunnei
2018-04-29Merge pull request #416 from bunnei/shader-ints-p3bunnei
gl_shader_decompiler: Implement MOV32I, partially implement I2I, I2F
2018-04-28fermi_2d: Fix surface copy block height.bunnei
2018-04-28gl_shader_decompiler: Partially implement I2I_R, and I2F_R.bunnei
2018-04-28shader_bytecode: Add decodings for i2i instructions.bunnei
2018-04-28gl_shader_decompiler: Implement MOV32_IMM instruction.bunnei
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash
2018-04-26gl_shader_decompiler: Boilerplate for handling integer instructions.bunnei
2018-04-25Merge pull request #396 from Subv/shader_opsbunnei
Shaders: Implemented the FSET instruction.
2018-04-25GPU: Partially implemented the Fermi2D surface copy operation.Subv
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.
2018-04-25Shaders: Added bit decodings for the I2I instruction.Subv
2018-04-25GPU: Added surface copy registers to Fermi2DSubv
2018-04-25GPU: Added boilerplate code for the Fermi2D engineSubv
2018-04-25GPU: Reduce the number of registers of Maxwell3D to 0xE00.Subv
The rest are just macro shim registers.
2018-04-25GPU: Move the Maxwell3D macro uploading code to the inside of the Maxwell3D ↵Subv
processor. It doesn't belong in the PFIFO handler.
2018-04-25video-core: Move logging macros over to new fmt-capable onesLioncash
2018-04-24Shaders: Added decodings for the FSET instructions.Subv
2018-04-24memory_manager: Make GpuToCpuAddress return an optional.bunnei
2018-04-24memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses.bunnei
2018-04-24Merge pull request #386 from Subv/gpu_querybunnei
GPU: Added asserts to our code for handling the QUERY_GET GPU command.
2018-04-23GPU: Added asserts to our code for handling the QUERY_GET GPU command.Subv
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.
2018-04-23GPU: Support multiple enabled vertex arrays.Subv
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.
2018-04-20shader_bytecode: Add several more instruction decodings.bunnei
2018-04-20shader_bytecode: Decode instructions based on bit strings.bunnei
2018-04-20ShaderGen: Implemented predicated instruction execution.Subv
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.
2018-04-20ShaderGen: Implemented the fsetp instruction.Subv
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.
2018-04-20ShaderGen: Register id 255 is special and is hardcoded to return 0 (SR_ZERO).Subv
2018-04-19ShaderGen: Implemented the fmul32i shader instruction.Subv
2018-04-18gl_shader_gen: Support vertical/horizontal viewport flipping. (#347)bunnei
* gl_shader_gen: Support vertical/horizontal viewport flipping. * fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
2018-04-18GPU: Pitch textures are now supported, don't assert when encountering them.Subv
2018-04-17Merge pull request #346 from bunnei/misc-gpu-improvementsbunnei
Misc gpu improvements
2018-04-17Merge pull request #344 from bunnei/shader-decompiler-p2bunnei
Shader decompiler changes part 2
2018-04-17maxwell3d: Allow Texture2DNoMipmap as Texture2D.bunnei
2018-04-17shader_bytecode: Make ctor's constexpr and explicit.bunnei
2018-04-17renderer_opengl: Implement BlendEquation and BlendFunc.bunnei