aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines
AgeCommit message (Collapse)Author
2019-09-23Merge pull request #2869 from ReinUsesLisp/suldbunnei
shader/image: Implement SULD and fix SUATOM
2019-09-22Merge pull request #2870 from FernandoS27/multi-drawDavid
Implement a MME Draw commands Inliner and correct host instance drawing
2019-09-22Maxwell3D: Corrections and refactors to MME instance refactorFernando Sahmkow
2019-09-22Fix clang-formatFearlessTobi
2019-09-22fermi_2d: Lower surface copy log severity to DEBUGFearlessTobi
2019-09-21Merge pull request #2878 from FernandoS27/icmpRodrigo Locatti
shader_ir: Implement ICMP
2019-09-21gl_shader_decompiler: Use uint for images and fix SUATOMReinUsesLisp
In the process remove implementation of SUATOM.MIN and SUATOM.MAX as these require a distinction between U32 and S32. These have to be implemented with imageCompSwap loop.
2019-09-21shader/image: Implement SULD and remove irrelevant codeReinUsesLisp
* Implement SULD as float. * Remove conditional declaration of GL_ARB_shader_viewport_layer_array.
2019-09-21shader_bytecode: Add SULD encodingReinUsesLisp
2019-09-21Shader_IR: ICMP corrections and fixesFernando Sahmkow
2019-09-21Mark DrawArrays as LOG_TRACEDavid Marcec
There's no reason to clog logs with DrawArray.
2019-09-19Shader_IR: Implement ICMP.Fernando Sahmkow
2019-09-19Rasterizer: Refactor and simplify DrawBatch Interface.Fernando Sahmkow
2019-09-19VideoCore: Corrections to the MME Inliner and removal of hacky instance ↵Fernando Sahmkow
management.
2019-09-19Video Core: initial Implementation of InstanceDraw PackagingFernando Sahmkow
2019-09-17shader_ir/warp: Implement SHFLReinUsesLisp
2019-09-15Merge pull request #2851 from ReinUsesLisp/srgbFernando Sahmkow
renderer_opengl: Fix sRGB blits
2019-09-15Merge pull request #2824 from ReinUsesLisp/mmeFernando Sahmkow
Revert "Revert #2466" and stub FirmwareCall 4
2019-09-14maxwell_3d: Update firmware 4 call stub commentaryRodrigo Locatti
2019-09-10shader/image: Implement SUATOM and fix SUSTReinUsesLisp
2019-09-10renderer_opengl: Fix sRGB blitsReinUsesLisp
Removes the sRGB hack of tracking if a frame used an sRGB rendertarget to apply at least once to blit the final texture as sRGB. Instead of doing this apply sRGB if the presented image has sRGB. Also enable sRGB by default on Maxwell3D registers as some games seem to assume this.
2019-09-10Merge pull request #2823 from ReinUsesLisp/shr-clampbunnei
shader/shift: Implement SHR wrapped and clamped variants
2019-09-10Merge pull request #2810 from ReinUsesLisp/mme-optbunnei
maxwell_3d: Avoid moving macro_params
2019-09-05gl_rasterizer: Implement image bindingsReinUsesLisp
2019-09-05kepler_compute: Implement texture queriesReinUsesLisp
2019-09-04Revert "Revert #2466" and stub FirmwareCall 4ReinUsesLisp
2019-09-04shader/shift: Implement SHR wrapped and clamped variantsReinUsesLisp
Nvidia defaults to wrapped shifts, but this is undefined behaviour on OpenGL's spec. Explicitly mask/clamp according to what the guest shader requires.
2019-09-04maxwell_3d: Avoid moving macro_paramsReinUsesLisp
2019-09-03Merge pull request #2812 from ReinUsesLisp/f2i-selectorbunnei
shader_ir/conversion: Implement F2I and F2F F16 selector
2019-09-03Merge pull request #2811 from ReinUsesLisp/fsetp-fixbunnei
float_set_predicate: Add missing negation bit for the second operand
2019-09-03Merge pull request #2826 from ReinUsesLisp/macro-bindingbunnei
maxwell_3d: Fix macro binding cursor
2019-09-01Merge pull request #2765 from FernandoS27/dma-fixbunnei
MaxwellDMA: Fixes, corrections and relaxations.
2019-09-01maxwell_3d: Fix macro binding cursorReinUsesLisp
2019-08-30video_core: Silent miscellaneous warnings (#2820)Rodrigo Locatti
* texture_cache/surface_params: Remove unused local variable * rasterizer_interface: Add missing documentation commentary * maxwell_dma: Remove unused rasterizer reference * video_core/gpu: Sort member declaration order to silent -Wreorder warning * fermi_2d: Remove unused MemoryManager reference * video_core: Silent unused variable warnings * buffer_cache: Silent -Wreorder warnings * kepler_memory: Remove unused MemoryManager reference * gl_texture_cache: Add missing override * buffer_cache: Add missing include * shader/decode: Remove unused variables
2019-08-28shader_ir/conversion: Split int and float selector and implement F2F H1ReinUsesLisp
2019-08-27shader_ir/conversion: Implement F2I F16 Ra.H1ReinUsesLisp
2019-08-27float_set_predicate: Add missing negation bit for the second operandReinUsesLisp
2019-08-21shader_ir: Implement VOTEReinUsesLisp
Implement VOTE using Nvidia's intrinsics. Documentation about these can be found here https://developer.nvidia.com/reading-between-threads-shader-intrinsics Instead of using portable ARB instructions I opted to use Nvidia intrinsics because these are the closest we have to how Tegra X1 hardware renders. To stub VOTE on non-Nvidia drivers (including nouveau) this commit simulates a GPU with a warp size of one, returning what is meaningful for the instruction being emulated: * anyThreadNV(value) -> value * allThreadsNV(value) -> value * allThreadsEqualNV(value) -> true ballotARB, also known as "uint64_t(activeThreadsNV())", emits VOTE.ANY Rd, PT, PT; on nouveau's compiler. This doesn't match exactly to Nvidia's code VOTE.ALL Rd, PT, PT; Which is emulated with activeThreadsNV() by this commit. In theory this shouldn't really matter since .ANY, .ALL and .EQ affect the predicates (set to PT on those cases) and not the registers.
2019-08-21Merge pull request #2753 from FernandoS27/float-convertbunnei
Shader_Ir: Implement F16 Variants of F2F, F2I, I2F.
2019-08-04shader_ir: Implement NOPReinUsesLisp
2019-07-26Merge pull request #2592 from FernandoS27/sync1bunnei
Implement GPU Synchronization Mechanisms & Correct NVFlinger
2019-07-25MaxwellDMA: Fixes, corrections and relaxations.Fernando Sahmkow
This commit fixes offsets on Linear -> Tiled copies, corrects z pos fortiled->linear copies, corrects bytes_per_pixel calculation in tiled -> linear copies and relaxes some limitations set by latest dma fixes refactors.
2019-07-25Merge pull request #2743 from FernandoS27/surpress-assertbunnei
Downgrade and suppress a series of GPU asserts and debug messages.
2019-07-24Merge pull request #2704 from FernandoS27/conditionalbunnei
maxwell3d: Implement Conditional Rendering
2019-07-22Merge pull request #2734 from ReinUsesLisp/compute-shadersbunnei
gl_rasterizer: Implement compute shaders
2019-07-21Merge pull request #2735 from FernandoS27/pipeline-reworkbunnei
Rework Dirty Flags in GPU Pipeline, Optimize CBData and Redo Clearing mechanism
2019-07-20Shader_Ir: Implement F16 Variants of F2F, F2I, I2F.Fernando Sahmkow
This commit takes care of implementing the F16 Variants of the conversion instructions and makes sure conversions are done.
2019-07-20Maxwell3D: Reorganize and address feedbackFernando Sahmkow
2019-07-19shader/half_set_predicate: Implement missing HSETP2 variantsReinUsesLisp
2019-07-18MaxwellDMA/KeplerCopy: Downgrade DMA log message to Trace.Fernando Sahmkow
This log was just to know which games used DMA. It's no longer important.