aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2018-06-06GPU: Implement sampling multiple textures in the generated glsl shaders.Subv
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.
2018-06-06Merge pull request #531 from bunnei/fix-shlSebastian Valle
gl_shader_decompiler: Fix un/signed mismatch with SHL.
2018-06-06Merge pull request #530 from bunnei/wrap-mirrorSebastian Valle
maxwell_to_gl: Implement WrapMode Mirror.
2018-06-06Merge pull request #527 from Subv/rgba32f_texcopybunnei
GPU: Allow the usage of RGBA32_FLOAT and RGBA16_FLOAT in the texture copy engine.
2018-06-06Merge pull request #528 from Subv/rg11b10fbunnei
GPU: Implemented the R11FG11FB10F texture and rendertarget formats.
2018-06-05gl_shader_decompiler: Fix un/signed mismatch with SHL.bunnei
2018-06-05maxwell_to_gl: Implement WrapMode Mirror.bunnei
2018-06-05GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.Subv
2018-06-05GPU: Implemented the R11FG11FB10F texture and rendertarget formats.Subv
2018-06-05GPU: Fixed the compression factor for RGBA16F textures.Subv
They're not compressed.
2018-06-05GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine.Subv
2018-06-05Merge pull request #516 from Subv/f2i_rbunnei
GPU: Implemented the F2I_R shader instruction.
2018-06-05Merge pull request #521 from Subv/brabunnei
GPU: Corrected the branch targets for the shader bra instruction.
2018-06-05Merge pull request #520 from bunnei/shader-shlbunnei
gl_shader_decompiler: Implement SHL instruction.
2018-06-04GPU: Corrected the branch targets for the shader bra instruction.Subv
2018-06-04GPU: Implemented the F2I_R shader instruction.Subv
2018-06-04Merge pull request #518 from Subv/incomplete_shadersbunnei
GPU: Implemented predicated exit instructions in the shader programs.
2018-06-04gl_shader_decompiler: Fix typo with ISCADD instruction.bunnei
2018-06-04gl_shader_decompiler: Implement SHL instruction.bunnei
2018-06-04gl_shader_decompiler: Implement PredCondition::NotEqual.bunnei
2018-06-04GPU: Implement the ISCADD shader instructions.Subv
2018-06-04GPU: Added decodings for the ISCADD instructions.Subv
2018-06-04Merge pull request #514 from Subv/lop32ibunnei
GPU: Implemented the LOP32I instruction.
2018-06-04Merge pull request #510 from Subv/isetpbunnei
GPU: Implemented the ISETP_R and ISETP_C instructions
2018-06-04GPU: Implement predicated exit instructions in the shader programs.Subv
2018-06-04GPU: Take into account predicated exits when performing shader control flow ↵Subv
analysis.
2018-06-04Merge pull request #512 from Subv/fsetbunnei
GPU: Corrected the FSET and I2F instructions.
2018-06-04Merge pull request #501 from Subv/shader_brabunnei
GPU: Partially implemented the bra shader instruction
2018-06-04Merge pull request #515 from Subv/viewport_fixbunnei
GPU: Calculate the correct viewport dimensions based on the scale and translate registers.
2018-06-04GPU: Use the bf bit in FSET to determine whether to write 0xFFFFFFFF or 1.0f.Subv
2018-06-04GPU: Corrected the I2F_R implementation.Subv
2018-06-04GPU: Calculate the correct viewport dimensions based on the scale and ↵Subv
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?
2018-06-04GPU: Implemented the LOP32I instruction.Subv
2018-06-04GLCache: Corrected a mismatch between storing compressed sizes and verifying ↵Subv
the uncompressed alignment in GetSurface.
2018-06-04GPU: Use explicit types when retrieving the uniform values for fsetp/fset ↵Subv
and isetp instead of the type of an invalid output register.
2018-06-04GPU: Implemented the ISETP_R and ISETP_C shader instructions.Subv
2018-06-03GPU: Partially implemented the shader BRA instruction.Subv
2018-06-03GPU: Added decoding for the BRA instruction.Subv
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-03Merge pull request #495 from bunnei/improve-rrobunnei
gl_shader_decompiler: Implement RRO as a register move.
2018-06-03gl_shader_decompiler: Implement RRO as a register move.bunnei
2018-06-02GPU: Implemented the DXN1 (BC4) texture format.Subv
2018-05-31gl_shader_decompiler: Implement TEX instruction.bunnei
2018-05-31gl_shader_decompiler: Support multi-destination for TEXS.bunnei
2018-05-30gl_rasterizer_cache: Assert that component type is UNorm or format is RGBA16F.bunnei
2018-05-30gl_rasterizer_cache: Implement PixelFormat RGBA16F.bunnei
2018-05-30Merge pull request #489 from Subv/vertexidbunnei
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.