bunnei
f41eb95e13
maxwell_3d: Reset vertex counts after drawing.
8 years ago
bunnei
08b8fcbe6d
gl_shader_decompiler: Implement MOV_R.
8 years ago
bunnei
316327f487
maxwell_to_gl: Implement type SignedNorm, Size_8_8_8_8.
8 years ago
bunnei
c7ce472eeb
shader_bytecode: Add decoding for FMNMX instruction.
8 years ago
Subv
da32c648bf
Shaders: Implemented predicate condition 3 (LessEqual) in the fset and fsetp instructions.
8 years ago
bunnei
a71346cd7c
gl_shader_decompiler: Implement MOV_C.
8 years ago
bunnei
f87ea8fa8b
fermi_2d: Fix surface copy block height.
8 years ago
bunnei
0c01c34eff
gl_shader_decompiler: Partially implement I2I_R, and I2F_R.
8 years ago
bunnei
e73927cfc2
gl_shader_decompiler: More cleanups, etc. with how we handle register types.
8 years ago
bunnei
c691fa4074
GLSLRegister: Simplify register declarations, etc.
8 years ago
bunnei
f2dcb39049
shader_bytecode: Add decodings for i2i instructions.
8 years ago
bunnei
a7b5ab4d9a
gl_shader_decompiler: Implement MOV32_IMM instruction.
8 years ago
Lioncash
16198f979e
renderer_opengl: Replace usages of LOG_GENERIC with fmt-capable equivalents
8 years ago
bunnei
e6242ab5e6
gl_shader_decompiler: Add GLSLRegisterManager class to track register state.
8 years ago
Lioncash
8475496630
general: Convert assertion macros over to be fmt-compatible
8 years ago
bunnei
c9d7abe9c9
gl_shader_decompiler: Boilerplate for handling integer instructions.
8 years ago
bunnei
37fa9a15cd
gl_shader_decompiler: Move color output to EXIT instruction.
8 years ago
Subv
20d86d8a36
GPU: Partially implemented the Fermi2D surface copy operation.
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.
8 years ago
Subv
e9ad8e9185
Shaders: Added bit decodings for the I2I instruction.
8 years ago
Subv
1740aa5444
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.
8 years ago
Subv
1dd4861d38
GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file.
8 years ago
Subv
a6da2b93c1
GPU: Added a function to retrieve the bytes per pixel of the render target formats.
8 years ago
Subv
378c881427
GPU: Added surface copy registers to Fermi2D
8 years ago
Subv
b1109931b9
GPU: Added boilerplate code for the Fermi2D engine
8 years ago
Subv
c16cfbbc6c
GPU: Reduce the number of registers of Maxwell3D to 0xE00.
The rest are just macro shim registers.
8 years ago
Subv
a994446b6e
GPU: Move the Maxwell3D macro uploading code to the inside of the Maxwell3D processor.
It doesn't belong in the PFIFO handler.
8 years ago
Subv
e2f2a49d2d
GPU: Corrected the upper bound of the PFIFO method ids in the command processor.
8 years ago
Lioncash
b7551e457b
video-core: Move logging macros over to new fmt-capable ones
8 years ago
Subv
0369ee7248
Shaders: Added decodings for the FSET instructions.
8 years ago
bunnei
c30cd898fc
renderer_opengl: Use correct byte order for framebuffer pixel format ABGR8.
8 years ago
bunnei
f1a4a004fb
gl_rasterizer_cache: Use CHAR_BIT for bpp conversions instead of 8.
8 years ago
bunnei
0a023cfb4f
gl_rasterizer_cache: Use GPU PAGE_BITS/SIZE, not CPU.
8 years ago
bunnei
9022d926eb
gl_rasterizer_cache: Use new logger.
8 years ago
bunnei
fbb3cd110c
gl_rasterizer_cache: Add a function for finding framebuffer GPU address.
8 years ago
bunnei
bc0f1896fc
gl_rasterizer_cache: Handle compressed texture sizes.
8 years ago
bunnei
4415e00181
gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.
8 years ago
bunnei
10c6d89119
memory_manager: Add implement CpuToGpuAddress.
8 years ago
bunnei
239ac8abe2
memory_manager: Make GpuToCpuAddress return an optional.
8 years ago
bunnei
9e11a76e92
memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses.
8 years ago
Lioncash
d1b23b2b51
renderer_opengl: Silence a -Wdangling-else warning in DrawScreenTriangles()
8 years ago
Subv
f208953585
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.
8 years ago
Subv
9531a29283
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.
8 years ago
Subv
f823c1d599
GPU: Make the GPU virtual memory manager use 16 page bits and 10 page table bits.
Also removed some dead code and added memory map consistency asserts.
8 years ago
Subv
010227e149
GPU: Implement the RGB10_A2 RenderTarget format, it will use the same format as the A2BGR10 texture format.
8 years ago
Subv
c079cf4eec
GPU: Implement the A2BGR10 texture format.
8 years ago
bunnei
d08fd7e86d
gl_shader_decompiler: Skip RRO instruction.
8 years ago
bunnei
8b28dc55e6
gl_shader_decompiler: Cleanup error logging.
8 years ago
bunnei
e1630c4d43
shader_bytecode: Add several more instruction decodings.
8 years ago
bunnei
9f6d305eab
shader_bytecode: Decode instructions based on bit strings.
8 years ago
Subv
17a0ef1e1e
ShaderGen: Implemented the KIL instruction, which is equivalent to 'discard'.
8 years ago