summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement scaled vertex buffer format emulationBilly Laws2023-06-031-27/+17
| | | | These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
* Fix Tears of the Kingdom flickering clouds and depths.Kelebek12023-05-111-6/+2
|
* Define SampleMask as an arrayKelebek12023-04-301-1/+2
|
* Run clang-formatBilly Laws2023-01-051-5/+6
|
* Vulkan: Add a workaround for input_position on Adreno driversBilly Laws2023-01-051-2/+5
| | | | Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
* Video_core: Address feedbackFernando Sahmkow2023-01-041-0/+4
|
* MacroHLE: Add HLE replacement for base vertex and base instance.Fernando Sahmkow2023-01-011-0/+8
|
* Vulkan: Add support for VK_EXT_depth_clip_control.FernandoS272022-12-141-1/+1
|
* Merge pull request #9253 from vonchenplus/attr_layerliamwhite2022-11-191-0/+2
|\ | | | | shader: Implement miss attribute layer
| * shader: Implement miss attribute layerFengChen2022-11-171-0/+2
| |
* | video_core: Fix few issues in Tess stageFengChen2022-11-071-0/+12
|/
* video_core: Generate mipmap texture by drawingFengChen2022-09-201-1/+11
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* Include <bit> header when std::count{r,l}_zero is usedBilly Laws2022-03-221-0/+1
| | | | Needed for compilation with older libc++ releases
* shader_recompiler: Reduce unused includesameerj2022-03-201-1/+0
|
* Address review commentsLiam2022-03-171-10/+5
|
* shader_recompiler: Use functions for indirect const buffer accessesLiam2022-03-171-39/+19
|
* Address review commentsLiam2022-03-171-16/+15
|
* shader: add support for const buffer indirect addressingLiam2022-03-151-10/+41
|
* shader: Add integer attribute get optimization passameerj2021-12-301-0/+25
| | | | Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
* Remove spirv handle legacy related codevonchenplus2021-12-181-31/+0
|
* emit_spirv: Reduce emit_spirv.h include overheadameerj2021-12-061-0/+1
| | | | emit_spirv.h is included in video_core, which was propagating further includes that video_core did not depend on.
* vulkan: Fix rescaling push constant usageameerj2021-11-161-2/+2
|
* shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp2021-11-161-4/+9
| | | | Thanks for everything!
* spirv: Implement rescaling patchingReinUsesLisp2021-11-161-2/+4
|
* shader: Add resolution down factor opcodeReinUsesLisp2021-11-161-0/+5
|
* Simply legacy attribute implementFeng Chen2021-11-041-99/+27
|
* Support gl_FogFragCoord attributevonchenplus2021-10-311-4/+15
|
* Support gl_BackSecondaryColor attributevonchenplus2021-10-261-0/+15
|
* Support gl_FrontSecondaryColor attributevonchenplus2021-10-261-0/+15
|
* Support gl_BackColor attributevonchenplus2021-10-261-0/+15
|
* Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan.Fernando Sahmkow2021-09-151-1/+7
|
* Merge pull request #6962 from vonchenplus/spirv_support_legacy_attributebunnei2021-09-081-0/+47
|\ | | | | renderer_vulkan: Spirv support glsl legacy attribute
| * Detail adjustmentFeng Chen2021-09-081-8/+8
| |
| * Move attribute related definitions to spirv anonymous namespaceFeng Chen2021-09-071-3/+22
| |
| * Implement intput and output fixed fnc texturesFeng Chen2021-09-061-3/+5
| |
| * Rename parametersFeng Chen2021-09-031-5/+5
| |
| * Add colorfront and txtcoord supportFeng Chen2021-08-311-0/+26
| |
* | emit_spirv_context_get_set: Fix Get FrontFace return valueameerj2021-08-271-2/+3
|/ | | | The IR expects GetAttribute to return an F32 value. This case was returning a U32 instead.
* SPIR-V: Merge two ifs in EmitGetAttributeValeri2021-08-191-6/+2
|
* shader: Fix disabled attribute default valuesameerj2021-07-231-1/+1
|
* shader: Fix disabled and unwritten attributes and varyingsReinUsesLisp2021-07-231-1/+5
|
* shader: Rework varyings and implement passthrough geometry shadersReinUsesLisp2021-07-231-1/+1
| | | | | | Put all varyings into a single std::bitset with helpers to access it. Implement passthrough geometry shaders using host's.
* shader: Move loop safety tests to code emissionReinUsesLisp2021-07-231-8/+0
|
* spirv: Properly handle devices without int8 and int16ReinUsesLisp2021-07-231-17/+37
|
* shader: Properly manage attributes not written from previous stagesReinUsesLisp2021-07-231-1/+1
|
* shader: Add shader loop safety check settingslat9nq2021-07-231-8/+16
| | | | Also add a setting for enable Nsight Aftermath.
* shader: Add support for "negative" and unaligned offsetsReinUsesLisp2021-07-231-6/+3
| | | | | | | | | "Negative" offsets don't exist. They are shown as such due to a bug in nvdisasm. Unaligned offsets have been proved to read the aligned offset. For example, when reading an U32, if the offset is 6, the offset read will be 4.
* shader: Split profile and runtime information in separate structsReinUsesLisp2021-07-231-2/+2
|
* Move SPIR-V emission functions to their own headerReinUsesLisp2021-07-231-0/+1
|
* spirv: Support OpenGL uniform buffers and change bindingsReinUsesLisp2021-07-231-17/+81
|
* shader: Fix storage type when reading patches on tess controlReinUsesLisp2021-07-231-1/+2
|
* spirv: Replace Constant/ConstantComposite with Const helperameerj2021-07-231-20/+18
|
* shader: Address feedbackFernandoS272021-07-231-4/+1
|
* shader: Implement SR_Y_DIRECTIONFernandoS272021-07-231-0/+7
|
* shader: Implement SampleMaskReinUsesLisp2021-07-231-0/+4
|
* shader: Implement PIXLD.MY_INDEXReinUsesLisp2021-07-231-0/+4
|
* spirv: Bitcast non-F32 output attributes to their type before storeReinUsesLisp2021-07-231-13/+28
|
* spirv: Implement ViewportMask with NV_viewport_array2ReinUsesLisp2021-07-231-0/+5
|
* spirv: Bitcast non-F32 attributes to F32ReinUsesLisp2021-07-231-7/+9
|
* shader: Implement PrimitiveIdReinUsesLisp2021-07-231-0/+2
|
* shader: Implement tessellation shaders, polygon mode and invocation idReinUsesLisp2021-07-231-11/+77
|
* spirv: Implement Layer storesReinUsesLisp2021-07-231-2/+7
|
* shader: Implement transform feedbacks and define file formatReinUsesLisp2021-07-231-5/+14
|
* shader: Implement geometry shadersReinUsesLisp2021-07-231-40/+53
|
* shader: Implement SR_THREAD_KILLReinUsesLisp2021-07-231-0/+4
|
* shader: Move LaneId to the warp emission file and fix AMDReinUsesLisp2021-07-231-4/+0
|
* shader: Implement indexed attributesFernandoS272021-07-231-4/+4
|
* shader: Reimplement GetCbufU64 as GetCbufU32x2ReinUsesLisp2021-07-231-2/+2
| | | | It may generate better code on some compilers and it's easier to handle.
* shader: Address FeedbackFernandoS272021-07-231-34/+5
|
* shader: Implement SR_LaneIdFernandoS272021-07-231-0/+4
|
* shader: Improve VOTE.VTG stubFernandoS272021-07-231-0/+32
|
* shader: Implement ViewportIndexFernandoS272021-07-231-2/+8
|
* shader: Implement ClipDistanceFernandoS272021-07-231-0/+13
|
* shader: Add PointCoord attributeFernandoS272021-07-231-0/+6
|
* shader: Add PointSize attributeameerj2021-07-231-0/+2
|
* shader: Implement BRXFernandoS272021-07-231-2/+8
|
* shader: Implement LDS, STS, LDL, and STS and use SPIR-V 1.4 when availableReinUsesLisp2021-07-231-0/+10
|
* shader: Better interpolation and disabled attributes supportReinUsesLisp2021-07-231-9/+20
|
* shader: Implement front faceReinUsesLisp2021-07-231-0/+4
|
* shader: Implement NDC [-1, 1], attribute types and default varying initializationReinUsesLisp2021-07-231-26/+43
|
* spirv: Implement VertexId and InstanceId, refactor codeReinUsesLisp2021-07-231-0/+16
|
* shader: Add partial rasterizer integrationReinUsesLisp2021-07-231-4/+51
|
* shader: Partial implementation of LDCReinUsesLisp2021-07-231-6/+50
|
* shader: Primitive Vulkan integrationReinUsesLisp2021-07-231-21/+21
|
* spirv: Initial bindings supportReinUsesLisp2021-07-231-14/+6
|
* shader: Initial implementation of an ASTReinUsesLisp2021-07-231-0/+8
|
* spirv: Initial SPIR-V supportReinUsesLisp2021-07-231-0/+102