aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader
AgeCommit message (Collapse)Author
2020-04-05shader_decode: SULD.D -> SINT actually same as UNORM.namkazy
2020-04-05shader_decode: SULD.D fix decode SNORM componentnamkazy
2020-04-05clang-formatnamkazy
2020-04-05shader_decode: get sampler descriptor from registry.namkazy
2020-04-05tweaking.namkazy
2020-04-05cleanup unuse paramsnamkazy
2020-04-05cleanup debug code.namkazy
2020-04-05reimplement get component type, uncomment mistaken codenamkazy
2020-04-05remove disable optimizenamkazy
2020-04-05[wip] reimplement SULD.Dnamkazy
2020-04-05add shader stage when init shader irnamkazy
2020-04-05clang-fixNguyen Dac Nam
2020-04-05shader: image - import PredConditionNguyen Dac Nam
2020-04-05shader: SULD.D bits32 implement more complexer method.Nguyen Dac Nam
2020-04-05shader: SULD.D import StoreTypeNguyen Dac Nam
2020-04-05shader: implement SULD.D bits32Nguyen Dac Nam
2020-04-04shader/other: Add error message for some S2R registersReinUsesLisp
2020-04-04shader_bytecode: Rename MOV_SYS to S2RReinUsesLisp
2020-04-04shader_ir: Add error message for EXIT.FCSM_TRReinUsesLisp
2020-04-02shader/memory: Silence no return value warningReinUsesLisp
Silences a warning about control paths not all returning a value.
2020-04-01shader_decompiler: Remove FragCoord.w hack and change IPA implementationReinUsesLisp
Credits go to gdkchan and Ryujinx. The pull request used for this can be found here: https://github.com/Ryujinx/Ryujinx/pull/1082 yuzu was already using the header for interpolation, but it was missing the FragCoord.w multiplication described in the linked pull request. This commit finally removes the FragCoord.w == 1.0f hack from the shader decompiler. While we are at it, this commit renames some enumerations to match Nvidia's documentation (linked below) and fixes component declaration order in the shader program header (z and w were swapped). https://github.com/NVIDIA/open-gpu-doc/blob/master/Shader-Program-Header/Shader-Program-Header.html
2020-03-31Merge pull request #3561 from ReinUsesLisp/f2f-conversionFernando Sahmkow
shader/conversion: Fix F2F rounding operations with different sizes
2020-03-31Merge pull request #3577 from ReinUsesLisp/leaFernando Sahmkow
shader/lea: Fix LEA implementation
2020-03-31clang-formatNguyen Dac Nam
2020-03-31shader_decode: fix by suggestionNguyen Dac Nam
2020-03-30clang-formatnamkazy
2020-03-30shader_decode: ATOM/ATOMS: add function to avoid code repetitionnamkazy
2020-03-30shader_decode: implement ATOM operation for S32 and U32Nguyen Dac Nam
2020-03-30clang-formatnamkazy
2020-03-30shader_decode: implement ATOMS instr partial.Nguyen Dac Nam
2020-03-30shader: node - update correct commentNguyen Dac Nam
2020-03-30shader_decode: add Atomic op for common usageNguyen Dac Nam
2020-03-28shader/lea: Simplify generated LEA codeReinUsesLisp
2020-03-27shader/lea: Fix op_a and op_b usagesReinUsesLisp
They were swapped.
2020-03-27shader/lea: Remove const and use move when possibleReinUsesLisp
2020-03-26shader/conversion: Fix F2F rounding operations with different sizesReinUsesLisp
Rounding operations only matter when the conversion size of source and destination is the same, i.e. .F16.F16, .F32.F32 and .F64.F64. When there is a mismatch (.F16.F32), these bits are used for IEEE rounding, we don't emulate this because GLSL and SPIR-V don't support configuring it per operation.
2020-03-25Merge pull request #3544 from makigumo/myfork/patch-2bunnei
xmad: fix clang build error
2020-03-25Merge pull request #3520 from ReinUsesLisp/legacy-varyingsbunnei
gl_shader_decompiler: Implement legacy varyings
2020-03-23xmad: fix clang build errormakigumo
2020-03-19Merge pull request #3505 from namkazt/patch-8bunnei
shader_decode: implement XMAD mode CSfu
2020-03-15Merge pull request #3502 from namkazt/patch-3Rodrigo Locatti
shader_decode: Reimplement BFE instructions
2020-03-15shader/shader_ir: Track usage in input attribute and of legacy varyingsReinUsesLisp
2020-03-15shader/shader_ir: Fix clip distance usage storesReinUsesLisp
2020-03-15shader/shader_ir: Change declare output attribute to a switchReinUsesLisp
2020-03-14clang-formatNguyen Dac Nam
2020-03-14nitNguyen Dac Nam
2020-03-13shader/transform_feedback: Expose buffer strideReinUsesLisp
2020-03-13shader/transform_feedback: Add host API friendly TFB builderReinUsesLisp
2020-03-13nit & remove some optional paramNguyen Dac Nam
2020-03-13shader_decode: implement XMAD mode CSfuNguyen Dac Nam