summaryrefslogtreecommitdiff
path: root/src/shader_recompiler (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12196 from ameerj/glsl-cbuf-sizesGravatar liamwhite2023-12-031-1/+4
|\ | | | | GLSL: Use known cbuf sizes when possible
| * GLSL: Prefer known used cbuf sizesGravatar Ameer J2023-11-261-1/+4
| |
* | Merge branch 'master' into ssbo-alignGravatar Ameer J2023-11-2616-59/+147
|\|
| * renderer_vulkan: ignore viewport stores on non-supporting driversGravatar Liam2023-11-193-1/+6
| |
| * Merge pull request #12066 from ameerj/nvidia-nsanityGravatar liamwhite2023-11-194-0/+82
| |\ | | | | | | shader_recompiler: add byteswap pattern workaround for Nvidia
| | * shader_recompiler: add byteswap pattern workaround for NvidiaGravatar Ameer J2023-11-174-0/+82
| | |
| * | shader_recompiler: Fix spelling of "derivate" (#12067)Gravatar Ameer J2023-11-189-58/+59
| |/
* | shader_recompiler: Align SSBO offsets in GlobalMemory functionsGravatar Ameer J2023-10-314-5/+15
| |
* | shader_recompiler: Align SSBO offsets to meet host requirementsGravatar Ameer J2023-10-314-6/+12
|/ | | | Co-Authored-By: Billy Laws <blaws05@gmail.com>
* Merge pull request #11847 from ameerj/glsl-shfl-fixGravatar liamwhite2023-10-232-4/+9
|\ | | | | emit_glsl_warp: Fix shfl_in_bounds conditional
| * emit_glsl_warp: Fix shfl_in_bounds conditionalGravatar Ameer J2023-10-222-4/+9
| |
* | Manually robust on Maxwell and earlierGravatar Kelebek12023-10-193-4/+59
|/
* ci: fix new codespell errorsGravatar Liam2023-10-021-1/+1
|
* emit_spirv: fix incorrect use of descriptor index in image atomicsGravatar Liam2023-09-222-13/+9
|
* shader_recompiler: skip sampler for buffer textures (#11435)Gravatar liamwhite2023-09-143-6/+2
|
* Merge pull request #11436 from liamwhite/bad-formatGravatar liamwhite2023-09-101-1/+6
|\ | | | | shader_recompiler: always declare image format for image buffers
| * shader_recompiler: always declare image format for image buffersGravatar Liam2023-09-021-1/+6
| |
* | Merge pull request #11434 from danilaml/fix-warningsGravatar liamwhite2023-09-061-2/+0
|\ \ | |/ |/| msvc: set warning level to /W4 globally
| * msvc: set warning level to /W4 globallyGravatar Danila Malyutin2023-09-031-2/+0
| | | | | | | | And fix a bunch of warnings
* | Merge pull request #11383 from FernandoS27/are-you-a-wabbitGravatar liamwhite2023-09-021-1/+2
|\ \ | |/ |/| Fix regressions that damaged compute indirect & use reinterpret for copies with different byteblocksizes
| * Shader Recompiler: Auto stub special registers and dump pipelines on exception.Gravatar Fernando Sahmkow2023-08-271-1/+2
| |
* | shader_recompiler: fix emulation of 3D textureGradGravatar Liam2023-09-012-3/+34
|/
* Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagationGravatar Fernando Sahmkow2023-08-188-11/+261
|
* Fix shader dumps with nvdisasmGravatar Kelebek12023-08-031-1/+1
| | | | | skip fragment shaders when rasterizer is disabled initialize env_ptrs
* ssa_rewrite_pass: use proper mapsGravatar Liam2023-07-231-6/+5
|
* shaders: Track local memory usageGravatar ameerj2023-06-252-0/+5
|
* emit_glasm: Fix lmem size computationGravatar ameerj2023-06-251-1/+1
|
* Remove memory allocations in some hot pathsGravatar Kelebek12023-06-224-4/+5
|
* Merge pull request #10699 from liamwhite/conditional-barrierGravatar Matías Locatti2023-06-125-0/+51
|\ | | | | shader_recompiler: remove barriers in conditional control flow when device lacks support
| * shader_recompiler: remove barriers in conditional control flow when device ↵Gravatar Liam2023-06-105-0/+51
| | | | | | | | lacks support
* | shader_recompiler: translate f64 to f32 when unsupported on hostGravatar Liam2023-06-105-0/+191
|/
* video_core: Enable support_descriptor_aliasing on Turnip, disable storage ↵Gravatar bunnei2023-06-031-0/+10
| | | | atomic otherwise.
* Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUsGravatar Billy Laws2023-06-032-1/+18
| | | | This crashes their shader compiler for some reason.
* Implement scaled vertex buffer format emulationGravatar Billy Laws2023-06-035-49/+75
| | | | These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
* shader_recompiler: fix copy-paste errorGravatar Liam2023-05-261-1/+1
|
* Fix Tears of the Kingdom flickering clouds and depths.Gravatar Kelebek12023-05-112-12/+3
|
* Define SampleMask as an arrayGravatar Kelebek12023-04-302-2/+4
|
* shader_recompiler: Use vector arithmetic rather than component-wise in ↵Gravatar Wollnashorn2023-04-081-18/+9
| | | | | | ImageGatherSubpixelOffset Should be more efficient and better readable
* video_core: Enable ImageGather with subpixel offset on IntelGravatar Wollnashorn2023-04-081-3/+3
|
* shader_recompiler: Add subpixel offset for correct rounding at `ImageGather`Gravatar Wollnashorn2023-04-083-0/+72
| | | | | | | On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures. See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary. This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957, #6956).
* general: fix spelling mistakesGravatar Liam2023-03-122-41/+41
|
* buffer_cache: Add logic for non-NVN storage buffer trackingGravatar ameerj2023-02-251-1/+7
|
* Merge pull request #9588 from liamwhite/bylaws-revertsGravatar liamwhite2023-02-194-12/+6
|\ | | | | Revert "shader_recompiler: Align SSBO offsets to meet host requirements"
| * Revert "shader_recompiler: Align SSBO offsets to meet host requirements"Gravatar Liam2023-01-074-12/+6
| | | | | | | | This reverts commit 8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e.
* | glsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMaskGravatar ameerj2023-02-081-6/+0
| | | | | | | | These built-ins seem to be available without needing to be declared for fragment shaders, similar i.e. to gl_FragDepth
* | shader_recompiler/value.h: Remove lingering references to S32Gravatar ameerj2023-02-041-11/+0
| |
* | Merge pull request #9703 from ameerj/txq-msGravatar liamwhite2023-02-015-18/+51
|\ \ | | | | | | shaders: Fix TXQ with MSAA textures
| * | spirv: Fix TXQ with MSAA texturesGravatar ameerj2023-01-293-8/+19
| | |
| * | emit_glasm_image: Fix TXQ with MSAA texturesGravatar ameerj2023-01-291-1/+9
| | |
| * | emit_glsl_image: Implement TXQ with MSAA texturesGravatar ameerj2023-01-291-9/+23
| | | | | | | | | | | | Also fixes for texture buffers, which do not have mips eithers.