aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/decode
AgeCommit message (Collapse)Author
2019-06-07shader: Split SSY and PBK stackReinUsesLisp
Hardware testing revealed that SSY and PBK push to a different stack, allowing code like this: SSY label1; PBK label2; SYNC; label1: PBK; label2: EXIT;
2019-06-05shader: Use shared_ptr to store nodes and move initialization to fileReinUsesLisp
Instead of having a vector of unique_ptr stored in a vector and returning star pointers to this, use shared_ptr. While changing initialization code, move it to a separate file when possible. This is a first step to allow code analysis and node generation beyond the ShaderIR class.
2019-05-29Merge pull request #2446 from ReinUsesLisp/tidbunnei
shader: Implement S2R Tid{XYZ} and CtaId{XYZ}
2019-05-24Merge pull request #2485 from ReinUsesLisp/generic-memorybunnei
shader/memory: Implement generic memory stores and loads (ST and LD)
2019-05-23shader/decode/*: Add missing newline to files lacking themLioncash
Keeps the shader code file endings consistent.
2019-05-23shader/decode/*: Eliminate indirect inclusionsLioncash
Amends cases where we were using things that were indirectly being satisfied through other headers. This way, if those headers change and eliminate dependencies on other headers in the future, we don't have cascading compilation errors.
2019-05-22shader/decode/memory: Remove left in debug pragmaLioncash
2019-05-20shader/memory: Implement ST (generic memory)ReinUsesLisp
2019-05-20shader/memory: Implement LD (generic memory)ReinUsesLisp
2019-05-20shader: Implement S2R Tid{XYZ} and CtaId{XYZ}ReinUsesLisp
2019-05-19Merge pull request #2441 from ReinUsesLisp/al2pbunnei
shader: Implement AL2P and ALD.PHYS
2019-05-09video_core/shader/decode/texture: Remove unused variable from GetTld4Code()Lioncash
2019-05-04shader/decode/texture: Remove unused variableLioncash
This isn't used anywhere, so we can get rid of it.
2019-05-02shader_ir/other: Implement IPA.IDXReinUsesLisp
2019-05-02shader_ir/memory: Assert on non-32 bits ALD.PHYSReinUsesLisp
2019-05-02shader: Add physical attributes commentariesReinUsesLisp
2019-05-02shader_ir/memory: Implement physical input attributesReinUsesLisp
2019-05-02shader: Remove unused AbufNode Ipa modeReinUsesLisp
2019-05-02shader_ir/memory: Emit AL2P IRReinUsesLisp
2019-04-28Merge pull request #2435 from ReinUsesLisp/misc-vcbunnei
shader_ir: Miscellaneous fixes
2019-04-28Merge pull request #2322 from ReinUsesLisp/wswitchbunnei
video_core: Silent -Wswitch warnings
2019-04-28Merge pull request #2423 from FernandoS27/half-correctbunnei
Corrections on Half Float operations: HADD2 HMUL2 and HFMA2
2019-04-26shader_ir/texture: Fix sampler const buffer key shiftReinUsesLisp
2019-04-20Corrections Half Float operations on const buffers and implement saturation.Fernando Sahmkow
2019-04-20Merge pull request #2407 from FernandoS27/f2fbunnei
Do some corrections in conversion shader instructions.
2019-04-19Merge pull request #2409 from ReinUsesLisp/half-floatsbunnei
shader_ir/decode: Miscellaneous fixes to half-float decompilation
2019-04-18video_core: Silent -Wswitch warningsReinUsesLisp
2019-04-17Merge pull request #2348 from FernandoS27/guest-bindlessbunnei
Implement Bindless Textures on Shader Decompiler and GL backend
2019-04-16Merge pull request #2315 from ReinUsesLisp/severity-decompilerbunnei
shader_ir/decode: Reduce the severity of common assertions
2019-04-15shader_ir/decode: Fix half float pre-operations and remove MetaHalfArithmeticReinUsesLisp
Operations done before the main half float operation (like HAdd) were managing a packed value instead of the unpacked one. Adding an unpacked operation allows us to drop the per-operand MetaHalfArithmetic entry, simplifying the code overall.
2019-04-15shader_ir/decode: Implement half float saturationReinUsesLisp
2019-04-15shader_ir/decode: Reduce severity of unimplemented half-float FTZReinUsesLisp
2019-04-15Do some corrections in conversion shader instructions.Fernando Sahmkow
Corrects encodings for I2F, F2F, I2I and F2I Implements Immediate variants of all four conversion types. Add assertions to unimplemented stuffs.
2019-04-14shader_ir: Implement STG, keep track of global memory usage and flushReinUsesLisp
2019-04-08Correct XMAD mode, psl and high_b on different encodings.Fernando Sahmkow
2019-04-08Adapt Bindless to work with AOFFIFernando Sahmkow
2019-04-08Move ConstBufferAccessor to Maxwell3d, correct mistakes and clang format.Fernando Sahmkow
2019-04-08Fix TMMLFernando Sahmkow
2019-04-08Refactor GetTextureCode and GetTexCode to use an optional instead of ↵Fernando Sahmkow
optional parameters
2019-04-08Implement TXQ_BFernando Sahmkow
2019-04-08Implement TMML_BFernando Sahmkow
2019-04-08Corrections to TEX_BFernando Sahmkow
2019-04-08Unify both sampler types.Fernando Sahmkow
2019-04-08Implement Bindless Samplers and TEX_B in the IR.Fernando Sahmkow
2019-04-03shader_ir/memory: Reduce severity of LD_L cache management and log itReinUsesLisp
2019-04-03shader_ir/memory: Reduce severity of ST_L cache management and log itReinUsesLisp
2019-03-31shader_ir/decode: Silent implicit sign conversion warningMat M
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
2019-03-30shader_ir/decode: Implement AOFFI for TEX and TLD4ReinUsesLisp
2019-02-26shader/decode: Remove extras from MetaTextureReinUsesLisp
2019-02-26shader/decode: Split memory and texture instructions decodingReinUsesLisp