summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-06-03Implement scaled vertex buffer format emulationBilly Laws1-27/+17
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
2023-05-11Fix Tears of the Kingdom flickering clouds and depths.Kelebek11-6/+2
2023-04-30Define SampleMask as an arrayKelebek11-1/+2
2023-01-05Run clang-formatBilly Laws1-5/+6
2023-01-05Vulkan: Add a workaround for input_position on Adreno driversBilly Laws1-2/+5
Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
2023-01-04Video_core: Address feedbackFernando Sahmkow1-0/+4
2023-01-01MacroHLE: Add HLE replacement for base vertex and base instance.Fernando Sahmkow1-0/+8
2022-12-14Vulkan: Add support for VK_EXT_depth_clip_control.FernandoS271-1/+1
2022-11-17shader: Implement miss attribute layerFengChen1-0/+2
2022-11-07video_core: Fix few issues in Tess stageFengChen1-0/+12
2022-09-20video_core: Generate mipmap texture by drawingFengChen1-1/+11
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2022-03-22Include <bit> header when std::count{r,l}_zero is usedBilly Laws1-0/+1
Needed for compilation with older libc++ releases
2022-03-20shader_recompiler: Reduce unused includesameerj1-1/+0
2022-03-17Address review commentsLiam1-10/+5
2022-03-17shader_recompiler: Use functions for indirect const buffer accessesLiam1-39/+19
2022-03-17Address review commentsLiam1-16/+15
2022-03-15shader: add support for const buffer indirect addressingLiam1-10/+41
2021-12-30shader: Add integer attribute get optimization passameerj1-0/+25
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
2021-12-18Remove spirv handle legacy related codevonchenplus1-31/+0
2021-12-06emit_spirv: Reduce emit_spirv.h include overheadameerj1-0/+1
emit_spirv.h is included in video_core, which was propagating further includes that video_core did not depend on.
2021-11-16vulkan: Fix rescaling push constant usageameerj1-2/+2
2021-11-16shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp1-4/+9
Thanks for everything!
2021-11-16spirv: Implement rescaling patchingReinUsesLisp1-2/+4
2021-11-16shader: Add resolution down factor opcodeReinUsesLisp1-0/+5
2021-11-04Simply legacy attribute implementFeng Chen1-99/+27
2021-10-31Support gl_FogFragCoord attributevonchenplus1-4/+15
2021-10-26Support gl_BackSecondaryColor attributevonchenplus1-0/+15
2021-10-26Support gl_FrontSecondaryColor attributevonchenplus1-0/+15
2021-10-26Support gl_BackColor attributevonchenplus1-0/+15
2021-09-15Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan.Fernando Sahmkow1-1/+7
2021-09-08Detail adjustmentFeng Chen1-8/+8
2021-09-07Move attribute related definitions to spirv anonymous namespaceFeng Chen1-3/+22
2021-09-06Implement intput and output fixed fnc texturesFeng Chen1-3/+5
2021-09-03Rename parametersFeng Chen1-5/+5
2021-08-31Add colorfront and txtcoord supportFeng Chen1-0/+26
2021-08-27emit_spirv_context_get_set: Fix Get FrontFace return valueameerj1-2/+3
The IR expects GetAttribute to return an F32 value. This case was returning a U32 instead.
2021-08-19SPIR-V: Merge two ifs in EmitGetAttributeValeri1-6/+2
2021-07-23shader: Fix disabled attribute default valuesameerj1-1/+1
2021-07-23shader: Fix disabled and unwritten attributes and varyingsReinUsesLisp1-1/+5
2021-07-23shader: Rework varyings and implement passthrough geometry shadersReinUsesLisp1-1/+1
Put all varyings into a single std::bitset with helpers to access it. Implement passthrough geometry shaders using host's.
2021-07-23shader: Move loop safety tests to code emissionReinUsesLisp1-8/+0
2021-07-23spirv: Properly handle devices without int8 and int16ReinUsesLisp1-17/+37
2021-07-23shader: Properly manage attributes not written from previous stagesReinUsesLisp1-1/+1
2021-07-23shader: Add shader loop safety check settingslat9nq1-8/+16
Also add a setting for enable Nsight Aftermath.
2021-07-23shader: Add support for "negative" and unaligned offsetsReinUsesLisp1-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.
2021-07-23shader: Split profile and runtime information in separate structsReinUsesLisp1-2/+2
2021-07-23Move SPIR-V emission functions to their own headerReinUsesLisp1-0/+1
2021-07-23spirv: Support OpenGL uniform buffers and change bindingsReinUsesLisp1-17/+81
2021-07-23shader: Fix storage type when reading patches on tess controlReinUsesLisp1-1/+2
2021-07-23spirv: Replace Constant/ConstantComposite with Const helperameerj1-20/+18
2021-07-23shader: Address feedbackFernandoS271-4/+1
2021-07-23shader: Implement SR_Y_DIRECTIONFernandoS271-0/+7
2021-07-23shader: Implement SampleMaskReinUsesLisp1-0/+4
2021-07-23shader: Implement PIXLD.MY_INDEXReinUsesLisp1-0/+4
2021-07-23spirv: Bitcast non-F32 output attributes to their type before storeReinUsesLisp1-13/+28
2021-07-23spirv: Implement ViewportMask with NV_viewport_array2ReinUsesLisp1-0/+5
2021-07-23spirv: Bitcast non-F32 attributes to F32ReinUsesLisp1-7/+9
2021-07-23shader: Implement PrimitiveIdReinUsesLisp1-0/+2
2021-07-23shader: Implement tessellation shaders, polygon mode and invocation idReinUsesLisp1-11/+77
2021-07-23spirv: Implement Layer storesReinUsesLisp1-2/+7
2021-07-23shader: Implement transform feedbacks and define file formatReinUsesLisp1-5/+14
2021-07-23shader: Implement geometry shadersReinUsesLisp1-40/+53
2021-07-23shader: Implement SR_THREAD_KILLReinUsesLisp1-0/+4
2021-07-23shader: Move LaneId to the warp emission file and fix AMDReinUsesLisp1-4/+0
2021-07-23shader: Implement indexed attributesFernandoS271-4/+4
2021-07-23shader: Reimplement GetCbufU64 as GetCbufU32x2ReinUsesLisp1-2/+2
It may generate better code on some compilers and it's easier to handle.
2021-07-23shader: Address FeedbackFernandoS271-34/+5
2021-07-23shader: Implement SR_LaneIdFernandoS271-0/+4
2021-07-23shader: Improve VOTE.VTG stubFernandoS271-0/+32
2021-07-23shader: Implement ViewportIndexFernandoS271-2/+8
2021-07-23shader: Implement ClipDistanceFernandoS271-0/+13
2021-07-23shader: Add PointCoord attributeFernandoS271-0/+6
2021-07-23shader: Add PointSize attributeameerj1-0/+2
2021-07-23shader: Implement BRXFernandoS271-2/+8
2021-07-23shader: Implement LDS, STS, LDL, and STS and use SPIR-V 1.4 when availableReinUsesLisp1-0/+10
2021-07-23shader: Better interpolation and disabled attributes supportReinUsesLisp1-9/+20
2021-07-23shader: Implement front faceReinUsesLisp1-0/+4
2021-07-23shader: Implement NDC [-1, 1], attribute types and default varying initializationReinUsesLisp1-26/+43
2021-07-23spirv: Implement VertexId and InstanceId, refactor codeReinUsesLisp1-0/+16
2021-07-23shader: Add partial rasterizer integrationReinUsesLisp1-4/+51
2021-07-23shader: Partial implementation of LDCReinUsesLisp1-6/+50
2021-07-23shader: Primitive Vulkan integrationReinUsesLisp1-21/+21
2021-07-23spirv: Initial bindings supportReinUsesLisp1-14/+6
2021-07-23shader: Initial implementation of an ASTReinUsesLisp1-0/+8
2021-07-23spirv: Initial SPIR-V supportReinUsesLisp1-0/+102