| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-04-23 | shader/texture: Support multiple unknown sampler properties | ReinUsesLisp | |
| This allows deducing some properties from the texture instruction before asking the runtime. By doing this we can handle type mismatches in some instructions from the renderer instead of the shader decoder. Fixes texelFetch issues with games using 2D texture instructions on a 1D sampler. | |||
| 2020-04-23 | shader_ir: Turn classes into data structures | ReinUsesLisp | |
| 2020-04-20 | shader/arithmetic_integer: Fix LEA_IMM encoding | ReinUsesLisp | |
| The operand order in LEA_IMM was flipped compared to nvdisasm. Fix that using nxas as reference: https://github.com/ReinUsesLisp/nxas/blob/8dbc38995711cc12206aa370145a3a02665fd989/table.h#L122 | |||
| 2020-04-16 | decode/memory: Resolve unused variable warning | Lioncash | |
| Only the first element of the returned pair is ever used. | |||
| 2020-04-16 | decode/texture: Resolve unused variable warnings. | Lioncash | |
| Some variables aren't used, so we can remove these. Unfortunately, diagnostics are still reported on structured bindings even when annotated with [[maybe_unused]], so we need to unpack the elements that we want to use manually. | |||
| 2020-04-16 | decode/texture: Collapse loop down into std::generate | Lioncash | |
| Same behavior, less code. | |||
| 2020-04-16 | decode/texture: Eliminate trivial missing field initializer warnings | Lioncash | |
| We can just specify the initializers. | |||
| 2020-04-16 | Merge pull request #3673 from lioncash/extra | bunnei | |
| CMakeLists: Specify -Wextra on linux builds | |||
| 2020-04-16 | decode/shift: Remove unused variable within Shift() | Lioncash | |
| Removes a redundant variable that is already satisfied by the IsFull() utility function. | |||
| 2020-04-15 | decode/image: Fix typo in assert in GetComponentSize() | Lioncash | |
| 2020-04-15 | decoder/image: Fix incorrect G24R8 component sizes in GetComponentSize() | Lioncash | |
| The components' sizes were mismatched. This corrects that. | |||
| 2020-04-15 | CMakeLists: Specify -Wextra on linux builds | Lioncash | |
| Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well. | |||
| 2020-04-15 | Merge pull request #3612 from ReinUsesLisp/red | Fernando Sahmkow | |
| shader/memory: Implement RED.E.ADD and minor changes to ATOM | |||
| 2020-04-14 | shader/arithmetic: Add FCMP_CR variant | ReinUsesLisp | |
| Adds another variant of FCMP. | |||
| 2020-04-13 | Merge pull request #3619 from ReinUsesLisp/i2i | Mat M | |
| shader/conversion: Implement I2I sign extension, saturation and selection | |||
| 2020-04-13 | Merge pull request #3633 from ReinUsesLisp/clean-texdec | Mat M | |
| shader/texture: Remove type mismatches management from shader decoder | |||
| 2020-04-12 | Merge pull request #3578 from ReinUsesLisp/vmnmx | Fernando Sahmkow | |
| shader/video: Partially implement VMNMX | |||
| 2020-04-12 | shader/video: Partially implement VMNMX | ReinUsesLisp | |
| Implements the common usages for VMNMX. Inputs with a different size than 32 bits are not supported and sign mismatches aren't supported either. VMNMX works as follows: It grabs Ra and Rb and applies a maximum/minimum on them (this is defined by .MX), having in mind the input sign. This result can then be saturated. After the intermediate result is calculated, it applies another operation on it using Rc. These operations are merges, accumulations or another min/max pass. This instruction allows to implement with a more flexible approach GCN's min3 and max3 instructions (for instance). | |||
| 2020-04-10 | shader/texture: Remove type mismatches management from shader decoder | ReinUsesLisp | |
| Since commit e22816a5bb we handle type mismatches from the CPU. We don't need to hack our shader decoder due to game bugs anymore. Removed in this commit. | |||
| 2020-04-09 | Merge pull request #3601 from ReinUsesLisp/some-shader-encodings | bunnei | |
| video_core/shader: Add some instruction and S2R encodings | |||
| 2020-04-07 | Merge pull request #3489 from namkazt/patch-2 | Rodrigo Locatti | |
| shader: implement SULD.D bits32/64 | |||
| 2020-04-07 | address nit. | Nguyen Dac Nam | |
| 2020-04-07 | shader/conversion: Implement I2I sign extension, saturation and selection | ReinUsesLisp | |
| Reimplements I2I adding sign extension, saturation (clamp source value to the destination), selection and destination sizes that are not 32 bits wide. It doesn't implement CC yet. | |||
| 2020-04-07 | Apply suggestions from code review | Nguyen Dac Nam | |
| Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc> | |||
| 2020-04-06 | shader_decode: SULD.D using std::pair instead of out parameter | namkazy | |
| 2020-04-06 | shader_decode: SULD.D avoid duplicate code block. | namkazy | |
| 2020-04-06 | shader_decode: SULD.D fix conversion error. | namkazy | |
| 2020-04-06 | shader_decode: SULD.D implement bits64 and reverse shader ir init method to ↵ | namkazy | |
| removed shader stage. | |||
| 2020-04-06 | shader/memory: Implement RED.E.ADD | ReinUsesLisp | |
| Implements a reduction operation. It's an atomic operation that doesn't return a value. This commit introduces another primitive because some shading languages might have a primitive for reduction operations. | |||
| 2020-04-06 | shader/memory: Add "using std::move" | ReinUsesLisp | |
| 2020-04-06 | shader/memory: Minor fixes in ATOM | ReinUsesLisp | |
| 2020-04-05 | Merge pull request #3592 from ReinUsesLisp/ipa | Fernando Sahmkow | |
| shader_decompiler: Remove FragCoord.w hack and change IPA implementation | |||
| 2020-04-05 | silent warning (conversion error) | namkazy | |
| 2020-04-05 | shader_decode: SULD.D -> SINT actually same as UNORM. | namkazy | |
| 2020-04-05 | shader_decode: SULD.D fix decode SNORM component | namkazy | |
| 2020-04-05 | clang-format | namkazy | |
| 2020-04-05 | shader_decode: get sampler descriptor from registry. | namkazy | |
| 2020-04-05 | tweaking. | namkazy | |
| 2020-04-05 | cleanup unuse params | namkazy | |
| 2020-04-05 | cleanup debug code. | namkazy | |
| 2020-04-05 | reimplement get component type, uncomment mistaken code | namkazy | |
| 2020-04-05 | remove disable optimize | namkazy | |
| 2020-04-05 | [wip] reimplement SULD.D | namkazy | |
| 2020-04-05 | clang-fix | Nguyen Dac Nam | |
| 2020-04-05 | shader: image - import PredCondition | Nguyen Dac Nam | |
| 2020-04-05 | shader: SULD.D bits32 implement more complexer method. | Nguyen Dac Nam | |
| 2020-04-05 | shader: SULD.D import StoreType | Nguyen Dac Nam | |
| 2020-04-05 | shader: implement SULD.D bits32 | Nguyen Dac Nam | |
| 2020-04-04 | shader/other: Add error message for some S2R registers | ReinUsesLisp | |
| 2020-04-04 | shader_bytecode: Rename MOV_SYS to S2R | ReinUsesLisp | |
