Subv
411f04b5a4
GPU: Implement sampling multiple textures in the generated glsl shaders.
All tested games that use a single texture show no regression.
Only Texture2D textures are supported right now, each shader gets its own "tex_fs/vs/gs" sampler array to maintain independent textures between shader stages, the textures themselves are reused if possible.
8 years ago
bunnei
3ab3dd166a
gl_shader_decompiler: Fix un/signed mismatch with SHL.
8 years ago
bunnei
0f76311842
maxwell_to_gl: Implement WrapMode Mirror.
8 years ago
Subv
d91fc15ea4
GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.
8 years ago
Subv
1ab5441d54
GPU: Implemented the R11FG11FB10F texture and rendertarget formats.
8 years ago
Subv
484b63fe34
GPU: Fixed the compression factor for RGBA16F textures.
They're not compressed.
8 years ago
Subv
f13edfd80b
GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine.
8 years ago
Subv
18d020ae81
GPU: Corrected the branch targets for the shader bra instruction.
8 years ago
Subv
1476b79308
GPU: Implemented the F2I_R shader instruction.
8 years ago
bunnei
732dd3fa03
gl_shader_decompiler: Fix typo with ISCADD instruction.
8 years ago
bunnei
3ffb26b0a6
gl_shader_decompiler: Implement SHL instruction.
8 years ago
bunnei
d9b029ff99
gl_shader_decompiler: Implement PredCondition::NotEqual.
8 years ago
Subv
368be6ae32
GPU: Implement the ISCADD shader instructions.
8 years ago
Subv
4e153d2bd6
GPU: Added decodings for the ISCADD instructions.
8 years ago
Subv
aa486a9eb2
GPU: Implement predicated exit instructions in the shader programs.
8 years ago
Subv
9e1ef025cb
GPU: Take into account predicated exits when performing shader control flow analysis.
8 years ago
Subv
3e3e3274c7
GPU: Use the bf bit in FSET to determine whether to write 0xFFFFFFFF or 1.0f.
8 years ago
Subv
45a000239d
GPU: Corrected the I2F_R implementation.
8 years ago
Subv
a58a06a218
GPU: Calculate the correct viewport dimensions based on the scale and translate registers.
This is how nouveau calculates the viewport width and height. For some reason some games set 0xFFFF in the VIEWPORT_HORIZ and VIEWPORT_VERT registers, maybe those are a misnomer and actually refer to something else?
8 years ago
Subv
7caec68586
GPU: Implemented the LOP32I instruction.
8 years ago
Subv
a2117df8e6
GLCache: Corrected a mismatch between storing compressed sizes and verifying the uncompressed alignment in GetSurface.
8 years ago
Subv
0e337430f5
GPU: Use explicit types when retrieving the uniform values for fsetp/fset and isetp instead of the type of an invalid output register.
8 years ago
Subv
c330734536
GPU: Implemented the ISETP_R and ISETP_C shader instructions.
8 years ago
Subv
54a12f1b84
GPU: Partially implemented the shader BRA instruction.
8 years ago
Subv
d75c79b61a
GPU: Added decoding for the BRA instruction.
8 years ago
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