Subv
315e5e6cf3
GPU: Partial implementation of long GPU queries.
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.
8 years ago
bunnei
94b620a89e
gl_shader_decompiler: Implement TEXS component mask.
8 years ago
bunnei
76da1f526a
gl_shader_decompiler: Implement RRO as a register move.
8 years ago
Subv
c00fc04a65
GPU: Implemented the DXN1 (BC4) texture format.
8 years ago
bunnei
20fa6379f6
gl_shader_decompiler: Implement TEX instruction.
8 years ago
bunnei
fc2f5b93c3
gl_shader_decompiler: Support multi-destination for TEXS.
8 years ago
bunnei
a8c1e58d23
gl_rasterizer_cache: Assert that component type is UNorm or format is RGBA16F.
8 years ago
bunnei
995f57bbc1
gl_rasterizer_cache: Implement PixelFormat RGBA16F.
8 years ago
Subv
455e14b8e3
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
8 years ago
bunnei
c99c03fe38
gl_shader_decompiler: F2F_R instruction: Implement abs.
8 years ago
bunnei
ed61b578d9
gl_shader_decompiler: Partially implement F2F_R instruction.
8 years ago
Subv
9631ae2fa4
GPU: Implemented the R8 texture format (0x1D)
8 years ago
bunnei
29c345982a
gl_rasterize_cache: Invert order of tex format RGB565.
8 years ago
greggameplayer
4786f69570
add all the known TextureFormat ( #474 )
8 years ago
Subv
110515404c
GPU: Implemented the A1B5G5R5 texture format (0x14)
8 years ago
bunnei
7bbda2a975
gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual.
8 years ago
bunnei
502fc1c4b3
shader_bytecode: Implement other variants of FMNMX.
8 years ago
Subv
8131e8cc3a
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
91f05992e4
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
8 years ago
Subv
216d47b066
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
12d6b53e60
Shaders: Implemented the FMNMX shader instruction.
8 years ago
Subv
9abfc3df7b
GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl.
It removes a mapping previously created with the MapBufferEx ioctl.
8 years ago
Subv
062b1fb17c
ShadersDecompiler: Added decoding for the PSETP instruction.
8 years ago
Subv
1a6aabdb1f
GLRenderer: Remove unused hw_vao_enabled_attributes variable.
8 years ago
Subv
891762da58
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
fe167421d1
GLRenderer: Log the shader source code when program linking fails.
8 years ago
Lioncash
1b310cbb3a
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
fc0fcbe9cc
maxwell_3d: Reset vertex counts after drawing.
8 years ago
bunnei
abb893aefe
gl_shader_decompiler: Implement MOV_R.
8 years ago
bunnei
d01e76720d
maxwell_to_gl: Implement type SignedNorm, Size_8_8_8_8.
8 years ago
bunnei
1bd065fb8e
shader_bytecode: Add decoding for FMNMX instruction.
8 years ago
Subv
87389ce295
Shaders: Implemented predicate condition 3 (LessEqual) in the fset and fsetp instructions.
8 years ago
bunnei
0ee1a0e698
gl_shader_decompiler: Implement MOV_C.
8 years ago
bunnei
f2da134385
fermi_2d: Fix surface copy block height.
8 years ago
bunnei
aaa3d91e7c
gl_shader_decompiler: Partially implement I2I_R, and I2F_R.
8 years ago
bunnei
327e24bb8f
gl_shader_decompiler: More cleanups, etc. with how we handle register types.
8 years ago
bunnei
543d4a680f
GLSLRegister: Simplify register declarations, etc.
8 years ago
bunnei
8c6970d20d
shader_bytecode: Add decodings for i2i instructions.
8 years ago
bunnei
f252169fa6
gl_shader_decompiler: Implement MOV32_IMM instruction.
8 years ago
Lioncash
cfd0e7f2d9
renderer_opengl: Replace usages of LOG_GENERIC with fmt-capable equivalents
8 years ago
bunnei
2dbd239ed5
gl_shader_decompiler: Add GLSLRegisterManager class to track register state.
8 years ago
Lioncash
324ee31fc3
general: Convert assertion macros over to be fmt-compatible
8 years ago
bunnei
8e661859a8
gl_shader_decompiler: Boilerplate for handling integer instructions.
8 years ago
bunnei
02771faf4e
gl_shader_decompiler: Move color output to EXIT instruction.
8 years ago
Subv
0c04a308d1
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
1755d4bec3
Shaders: Added bit decodings for the I2I instruction.
8 years ago
Subv
e02112db16
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
634620b502
GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file.
8 years ago
Subv
284aad1420
GPU: Added a function to retrieve the bytes per pixel of the render target formats.
8 years ago
Subv
bbb15541aa
GPU: Added surface copy registers to Fermi2D
8 years ago