summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/ir_opt (follow)
Commit message (Expand)AuthorAgeFilesLines
* rescaling_pass: Fix IR errors when unscalable texture types are encounteredameerj2021-11-161-0/+28
* rescaling_pass: Logic simplification and minor style cleanupameerj2021-11-161-32/+17
* rescaling_pass: Scale ImageFetch offset if it existsameerj2021-11-161-59/+37
* rescaling_pass: Enable PatchImageQueryDimensions on fragment stagesameerj2021-11-161-5/+4
* gl_texture_cache/rescaling_pass: minor cleanupameerj2021-11-161-12/+8
* rescaling_pass: Fix and simplify shuffle/fragcoord passameerj2021-11-161-26/+20
* Shader: Don't rescale FragCoord if used by ShuffleFernando Sahmkow2021-11-161-1/+52
* RescalingPass: Agregate pixels on texelFetch while on Fragment ShaderFernando Sahmkow2021-11-161-3/+97
* shader: Fix TextureSize check on rescaling.Fernando Sahmkow2021-11-161-27/+21
* shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp2021-11-162-2/+2
* shader: Properly blacklist and scale image loadsReinUsesLisp2021-11-161-3/+19
* shader/rescaling_pass: Patch more instructionsReinUsesLisp2021-11-161-4/+101
* shader: Add IsTextureScaled opcodeReinUsesLisp2021-11-161-0/+1
* shader: Fix rescaling passReinUsesLisp2021-11-161-1/+1
* shader: Fix resolution scaling passReinUsesLisp2021-11-163-34/+30
* ShaderDecompiler: Add initial support for rescaling.Fernando Sahmkow2021-11-161-0/+72
* ShaderCache: Fix Phi Nodes Type on OGL.Fernando Sahmkow2021-11-011-0/+24
* ShaderCache: Order Phi Arguments from farthest away to nearest.Fernando Sahmkow2021-10-311-0/+7
* TexturePass: Fix clamping of images as this allowed negative indices.Fernando Sahmkow2021-10-241-1/+1
* Shader Compiler: avoid overflowed indices on indixed samplers.Fernando Sahmkow2021-10-171-1/+2
* Merge pull request #6767 from ReinUsesLisp/fold-float-packMorph2021-07-301-0/+4
|\
| * shader: Fold UnpackFloat2x16 and PackFloat2x16ReinUsesLisp2021-07-301-0/+4
* | Merge pull request #6722 from ReinUsesLisp/xmad-optsbunnei2021-07-301-14/+187
|\ \ | |/ |/|
| * shader: Fold integer FMA from Nvidia's patternReinUsesLisp2021-07-261-0/+175
| * shader: Use TryInstRecursive on XMAD multiply foldingReinUsesLisp2021-07-261-14/+12
* | shader: Mark ConvertF16F32 and ConvertF32F16 as fp16 instructionsReinUsesLisp2021-07-281-0/+2
|/
* shader: Avoid usage of C++20 ranges to build in clangReinUsesLisp2021-07-236-17/+12
* shader_recompiler, video_core: Resolve clang errorslat9nq2021-07-231-3/+3
* glsl: Fix tracking of info.uses_shadow_lodameerj2021-07-231-4/+4
* dual_vertex_pass: Clang formatameerj2021-07-231-14/+14
* shader: Rework varyings and implement passthrough geometry shadersReinUsesLisp2021-07-231-137/+65
* lower_int64_to_int32: Add missing includelat9nq2021-07-231-0/+1
* shader: Add int64 to int32 lowering passReinUsesLisp2021-07-232-0/+217
* shader: Teach global memory base tracker to follow vectorsReinUsesLisp2021-07-231-15/+14
* shader: Add constant propagation to integer vectorsReinUsesLisp2021-07-231-0/+9
* shader: Move loop safety tests to code emissionReinUsesLisp2021-07-231-30/+2
* texture_pass: Fix is_read image qualificationameerj2021-07-231-1/+1
* shader: Align constant buffer sizes to 16 bytesReinUsesLisp2021-07-231-1/+2
* shader: Properly manage attributes not written from previous stagesReinUsesLisp2021-07-231-2/+4
* glsl: Address rest of feedbackameerj2021-07-231-2/+9
* glsl: Conditionally add EXT_texture_shadow_lodameerj2021-07-231-1/+9
* glsl: Implement legacy varyingsameerj2021-07-231-1/+8
* glsl: Fix ATOM and implement ATOMSameerj2021-07-231-0/+6
* glsl: Track S32 atomicsameerj2021-07-231-2/+8
* glsl: Revert ssbo aliasing. Storage Atomics implameerj2021-07-231-7/+2
* glsl: Wip storage atomic opsameerj2021-07-231-2/+7
* shader: Fix loop safety to SSA passReinUsesLisp2021-07-231-1/+1
* shader: Add shader loop safety check settingslat9nq2021-07-231-19/+47
* shader: Fix VertexA Shaders.FernandoS272021-07-232-9/+16
* buffer_cache: Reduce uniform buffer size from shader usageReinUsesLisp2021-07-231-3/+16
* shader,glasm: Implement legacy texcoord loadsReinUsesLisp2021-07-231-52/+18
* shader: Track legacy varyingsReinUsesLisp2021-07-231-13/+88
* shader: Clang-format secondary texturesReinUsesLisp2021-07-231-2/+2
* shader: Fix secondary texturesReinUsesLisp2021-07-231-2/+2
* shader: Fix FSwizzleAdd folding when going through phi nodesReinUsesLisp2021-07-231-2/+2
* glasm: Remove unintentionally committed fmt::printsReinUsesLisp2021-07-231-2/+0
* glasm: Initial implementation of phi nodes on GLASMReinUsesLisp2021-07-231-5/+1
* glasm: Rework control flow introducing a syntax listReinUsesLisp2021-07-234-73/+8
* glasm: Implement shuffle and vote instructions on GLASMReinUsesLisp2021-07-231-1/+3
* shader: Optimize NVN FallthroughFernandoS272021-07-231-7/+71
* shader: Implement Int32 SUATOM/SUREDameerj2021-07-232-1/+103
* shader: Address feedbackFernandoS272021-07-231-11/+9
* shader: Implement VertexA stageFernandoS272021-07-234-0/+128
* shader: Fix BFE s32 undefined checkameerj2021-07-231-1/+1
* shader: Fix error checking in bitfieldExtract and implement bitfieldInsert foldingReinUsesLisp2021-07-231-5/+14
* shader: Add more strict validation the passReinUsesLisp2021-07-231-0/+42
* shader: Fix forward referencing identity instructions when inserting phiReinUsesLisp2021-07-231-11/+13
* shader: Remove invalidated blocks in dead code elimination passReinUsesLisp2021-07-231-3/+6
* shader: Implement indexed texturesReinUsesLisp2021-07-231-17/+72
* shader: Intrusively store in a block if it's sealed or notReinUsesLisp2021-07-231-3/+2
* shader: Move microinstruction header to the value headerReinUsesLisp2021-07-238-8/+8
* shader: Intrusively store register values in block for SSA passReinUsesLisp2021-07-231-21/+43
* shader: Implement D3D samplersReinUsesLisp2021-07-231-11/+69
* shader: Add constant propagation for arithmetic right shiftsReinUsesLisp2021-07-231-0/+3
* shader: Add NVN storage buffer fallbacksReinUsesLisp2021-07-232-38/+61
* shader: Address feedbackFernandoS272021-07-231-1/+1
* shader: Add coarse derivativesFernandoS272021-07-232-8/+2
* shader: Implement fine derivates constant propagationFernandoS272021-07-232-0/+71
* shader: Fix Phi node typesReinUsesLisp2021-07-231-0/+4
* shader: Implement SampleMaskReinUsesLisp2021-07-231-0/+3
* shader: Implement PIXLD.MY_INDEXReinUsesLisp2021-07-231-0/+3
* spirv: Implement ViewportMask with NV_viewport_array2ReinUsesLisp2021-07-231-0/+3
* shader: Implement PrimitiveIdReinUsesLisp2021-07-231-0/+3
* shader: Implement tessellation shaders, polygon mode and invocation idReinUsesLisp2021-07-231-0/+41
* shader: Mark atomic instructions as writesReinUsesLisp2021-07-231-0/+27
* spirv: Implement image buffersReinUsesLisp2021-07-231-1/+18
* spirv: Implement Layer storesReinUsesLisp2021-07-231-0/+3
* spirv: Rework storage buffers and shader memoryReinUsesLisp2021-07-231-5/+64
* shader: Add constant propagation for *&^| binary operationsReinUsesLisp2021-07-231-0/+12
* spirv: Define StorageImageWriteWithoutFormat capability when usedReinUsesLisp2021-07-231-0/+5
* shader: Implement SR_THREAD_KILLReinUsesLisp2021-07-231-0/+3
* shader: Implement ATOM/S and REDameerj2021-07-233-2/+201
* spirv: Guard against typeless image reads on unsupported devicesReinUsesLisp2021-07-231-0/+7
* shader: Move LaneId to the warp emission file and fix AMDReinUsesLisp2021-07-231-1/+1
* shader: Implement SULD and SUSTReinUsesLisp2021-07-232-25/+69
* shader: Address feedback + clang formatlat9nq2021-07-231-1/+2
* shader_recompiler,video_core: Cleanup some GCC and Clang errorslat9nq2021-07-238-76/+80
* shader: Implement texture buffersReinUsesLisp2021-07-231-18/+62
* shader: Address feedbackFernandoS272021-07-231-13/+9
* shader: Implement indexed Position and ClipDistancesFernandoS272021-07-231-8/+18
* shader: Implement indexed attributesFernandoS272021-07-232-2/+36
* shader: Move recursive SSA rewrite to the heapReinUsesLisp2021-07-231-29/+89
* shader: Add subgroup masksReinUsesLisp2021-07-231-0/+7
* shader: Abstract breadth searches and use the abstractionReinUsesLisp2021-07-232-104/+48
* shader: Reimplement GetCbufU64 as GetCbufU32x2ReinUsesLisp2021-07-231-4/+3
* shader: Rework global memory tracking to use breadth-first searchReinUsesLisp2021-07-231-69/+80
* shader: Address feedbackFernandoS272021-07-232-12/+9
* shader: Address FeedbackFernandoS272021-07-233-60/+9
* shader: Implement SR_LaneIdFernandoS272021-07-231-0/+1
* shader: Improve VOTE.VTG stubFernandoS272021-07-231-1/+50
* shader: Mark SSBOs as written when they areFernandoS272021-07-231-2/+29
* shader: Implement ViewportIndexFernandoS272021-07-231-0/+3
* shader: Fold composite extractFernandoS272021-07-231-0/+62
* shader: Fold comparisons and Pack/Unpack16FernandoS272021-07-231-1/+41
* shader: Fix constant propagation to use reverse post orderReinUsesLisp2021-07-231-1/+2
* shader: Implement ClipDistanceFernandoS272021-07-231-0/+10
* shader: Implement ImageGradientFernandoS272021-07-232-1/+15
* shader,spirv: Implement ImageQueryLod.FernandoS272021-07-232-1/+7
* shader: Implement TLDFernandoS272021-07-231-0/+1
* shader: Add PointCoord attributeFernandoS272021-07-231-0/+4
* shader: Add PointSize attributeameerj2021-07-231-0/+3
* shader: Implement FSWZADDameerj2021-07-231-0/+3
* shader: Implement BRXFernandoS272021-07-231-1/+20
* shader: Implement LDS, STS, LDL, and STS and use SPIR-V 1.4 when availableReinUsesLisp2021-07-231-0/+6
* shader: Better interpolation and disabled attributes supportReinUsesLisp2021-07-231-1/+1
* shader: Implement front faceReinUsesLisp2021-07-231-0/+3
* shader: Implement TXQ and fix FragDepthReinUsesLisp2021-07-232-5/+18
* shader: Refactor PTP and other minor changesReinUsesLisp2021-07-231-20/+2
* shader: Add IR opcode for ImageFetchFernandoS272021-07-231-0/+5
* shader: Implement TLD4.PTPFernandoS272021-07-231-0/+18
* shader: Implement TLD4 and TLD4_BFernandoS272021-07-233-1/+29
* shader: Implement SHFLameerj2021-07-231-0/+6
* shader: Track first bindless argument instead of the instruction itselfReinUsesLisp2021-07-231-1/+1
* shader: Fix F2IFernandoS272021-07-232-0/+4
* shader: Implement VOTEameerj2021-07-231-0/+6
* shader: Fold interpolation multiplicationsReinUsesLisp2021-07-231-0/+34
* shader: Implement DMNMX, DSET, DSETPameerj2021-07-232-2/+9
* shader: Implement F2FFernandoS272021-07-231-1/+3
* shader: Add missing fp64 usage flagsReinUsesLisp2021-07-231-0/+34
* shader: Add support for fp16 comparisons and misc fixesReinUsesLisp2021-07-232-0/+18
* shader: Fix floating point comparison for FP16FernandoS272021-07-231-0/+24
* spirv: Implement VertexId and InstanceId, refactor codeReinUsesLisp2021-07-231-0/+6
* shader: Implement I2FReinUsesLisp2021-07-232-0/+44
* shader: Add partial rasterizer integrationReinUsesLisp2021-07-232-5/+57
* shader: Reorder phi nodes when redefined as undefined opcodesReinUsesLisp2021-07-231-1/+9
* shader: Implement CAL inlining function callsReinUsesLisp2021-07-2310-57/+44
* shader: Implement FCMPameerj2021-07-231-1/+13
* shader: Partial implementation of LDCReinUsesLisp2021-07-234-15/+146
* shader: Initial support for textures and TEXReinUsesLisp2021-07-234-9/+226
* shader: Implement HADD2ReinUsesLisp2021-07-232-1/+11
* shader: Implement SELameerj2021-07-231-4/+8
* shader: Avoid infinite recursion when tracking global memoryReinUsesLisp2021-07-231-5/+26
* shader: FMUL, select, RRO, and MUFU fixesReinUsesLisp2021-07-231-1/+1
* shader: Add denorm flush supportReinUsesLisp2021-07-232-7/+65
* spirv: Add lower fp16 to fp32 passReinUsesLisp2021-07-234-7/+103
* shader: Add XMAD multiplication folding optimizationReinUsesLisp2021-07-231-5/+77
* spirv: Initial bindings supportReinUsesLisp2021-07-234-61/+210
* shader: Fix trackingReinUsesLisp2021-07-231-50/+72
* shader: Add support for forward declarationsReinUsesLisp2021-07-231-2/+2
* shader: Support SSA loops on IRReinUsesLisp2021-07-233-17/+55
* shader: Misc fixesReinUsesLisp2021-07-232-70/+70
* shader: Initial implementation of an ASTReinUsesLisp2021-07-233-3/+75
* spirv: Initial SPIR-V supportReinUsesLisp2021-07-231-1/+1
* shader: Better constant foldingReinUsesLisp2021-07-231-12/+47
* shader: Properly store phi on InstReinUsesLisp2021-07-231-10/+12
* shader: Add pools and rename filesReinUsesLisp2021-07-231-14/+14
* shader: Make typed IRReinUsesLisp2021-07-232-10/+31
* shader: Remove illegal character in SSA passReinUsesLisp2021-07-231-1/+1
* shader: Constant propagation and global memory to storage bufferReinUsesLisp2021-07-236-36/+573
* shader: Initial instruction supportReinUsesLisp2021-07-232-88/+0
* shader: SSA and dominanceReinUsesLisp2021-07-233-1/+164
* shader: Initial recompiler workReinUsesLisp2021-07-235-0/+213