Subv
e2cdf54177
Shader: Implemented compound predicates in fset.
You can specify a predicate in the fset instruction:
Result = ((Value1 Comp Value2) OP P0) ? 1.0 : 0.0;
8 years ago
Subv
e2db7a83f6
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
8 years ago
Subv
126270d963
Shader: Implemented compound predicates in fsetp.
You can specify three predicates in an fsetp instruction:
P1 = (Value1 Comp Value2) OP P0;
P2 = !(Value1 Comp Value2) OP P0;
8 years ago
Subv
8440cef223
Shaders: Implemented the FMNMX shader instruction.
8 years ago
Subv
72b5c448cf
GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl.
It removes a mapping previously created with the MapBufferEx ioctl.
8 years ago
Subv
a056d5ad8c
ShadersDecompiler: Added decoding for the PSETP instruction.
8 years ago
Subv
98b143c2d6
GLRenderer: Remove unused hw_vao_enabled_attributes variable.
8 years ago
Subv
370ab5df9b
GLRenderer: Remove unused vertex buffer and increase the size of the stream 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.
8 years ago
Subv
21959ddfef
GLRenderer: Log the shader source code when program linking fails.
8 years ago
Lioncash
7c9644646f
general: Make formatting of logged hex values more straightforward
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).
8 years ago
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