Lukas Hermanns
18e54e9b2a
Remove unused function StringToFile in VulkanShaderCompiler.cpp
...
#rb none
#jira none
#rnx
[CL 15163794 by Lukas Hermanns in ue5-main branch]
2021-01-22 11:07:52 -04:00
Tim Smith
4c3942091b
Fixing PVS 7.7 Issues:
...
warning V547: Expression 'XYZ' is always true/false.
#rb trivial
#jira UE-91644
[CL 15054368 by Tim Smith in ue5-main branch]
2021-01-12 16:15:34 -04:00
zach bethel
0d7dc4d4ed
Refactor of uniform buffer binding to allow for runtime selection of static or per-shader binding. This is a necessary precursor to moving the View uniform buffer to use static bindings on mesh passes; it is used in so many places that both binding models are required to preserve compatibility. Added validation to catch when a uniform buffer is bound using both methods at the same time. Added CVar to RHI transition validation to control whether to break in the debugger on a transition failure.
...
#rb christopher.waters
[CL 14873973 by zach bethel in ue5-main branch]
2020-12-07 17:42:32 -04:00
Lukas Hermanns
5acb4c83b6
DXC Update: SCW backends.
...
#rb none
#fyi Mihnea.Balta, Rolando.Caloca, Will.Damon, Jonas.Meyer, Michael.Sartain
#jira none
#rnx
[CL 14832278 by Lukas Hermanns in ue5-main branch]
2020-12-01 19:33:51 -04:00
Rolando Caloca
8c5dda23da
UE5 - Proper fix for r.Shaders.KeepDebugInfo passing in the FRHIShader::ShaderName correctly
...
Initial fixes and tested on D3D11, D3D12 and Vulkan
Changed 'n' to FShaderCodeName::Key
Also added checks if trying to add optional shader data out of order
#rb Jonas.Meyer, Kenzo.Terelst, Mihnea.Balta
[CL 14816162 by Rolando Caloca in ue5-main branch]
2020-11-26 13:34:15 -04:00
Lukas Hermanns
9e7053fd6c
Fix Vulkan tessellation in DXC: use shader output slots to commuincate patch constant data in Hull shaders (Merged from CL 14680863).
...
#rb Rolando.Caloca, Will.Damon
#fyi Jonas.Meyer, Mihnea.Balta, Graham.Wihlidal
#rnx
[CL 14714790 by Lukas Hermanns in ue5-main branch]
2020-11-10 18:35:10 -04:00
Marc Audy
68150e0be7
Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
...
This represents UE4/Main @ 14594913
[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
carl lloyd
e57b34bf90
Fix for shader compile tasks when building for Vulkan when check is disabled
...
[CL 14587481 by carl lloyd in ue5-main branch]
2020-10-27 10:49:09 -04:00
Marc Audy
50a3d7d368
Merge Release-Engine-Staging to Main @ CL# 14467590
...
This represents UE4/Main @ 14432125 + some cherrypick fixes
[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marcus Wassmer
3b81cf8201
Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
...
autoresolved files
#rb none
[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Lukas Hermanns
ced384cac3
Fix SPIR-V reflection of texture SRVs in Vulkan/DXC backend. Merged from CL 13654014.
...
#rb none
#fyi Jonas.Meyer
#jira none
#rnx
[CL 14256856 by Lukas Hermanns in ue5-main branch]
2020-09-03 16:51:02 -04:00
Lukas Hermanns
ff30db94eb
Improve assertion about missing entry in SPIR-V module in Vulkan backend.
...
#rb none
#jira none
#rnx
[CL 14256825 by Lukas Hermanns in ue5-main branch]
2020-09-03 16:49:21 -04:00
Marc Audy
a7c9001a94
Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
...
#rb
#rnx
[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210
Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
...
#rnx
[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
lukas hermanns
0be1f84f71
Fixed offset for geometry shader input slots of array types in HLSLcc/Vulkan backend.
...
#rb Mihnea.Balta
[FYI] Rolando.Caloca, Marc.Audy
#rnx
#ROBOMERGE-OWNER: lukas.hermanns
#ROBOMERGE-AUTHOR: lukas.hermanns
#ROBOMERGE-SOURCE: CL 13114596 via CL 13114690 via CL 13114691 via CL 13114693 via CL 13114735
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)
[CL 13114748 by lukas hermanns in Main branch]
2020-04-30 09:56:53 -04:00
mihnea balta
85cc0348a1
Fixed bug introduced in CL 12982657 which caused compile failures for some geometry shaders on Vulkan.
...
Arrays don't have matrix_columns set to 1.
#jira none
#rb none
#rnx
#lockdown Christina.Riveron
#ROBOMERGE-SOURCE: CL 12997560 in //UE4/Release-4.25/... via CL 12997564 via CL 12997575
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)
[CL 12997577 by mihnea balta in Main branch]
2020-04-23 02:40:10 -04:00
mihnea balta
6b154fd015
Fixed overlapping shader attributes in Vulkan when using matrix types.
...
The code was assuming that each attribute occupies a single vector, so we got compiler errors if a shader used a matrix attribute.
#jira UE-91836
#rnx
#lockdown Christina.Riveron
#rb Rolando.Caloca
#ROBOMERGE-SOURCE: CL 12982657 in //UE4/Release-4.25/... via CL 12982668 via CL 12982691
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)
[CL 12982704 by mihnea balta in Main branch]
2020-04-22 15:30:48 -04:00
rolando caloca
14e2ac7588
F - Fix Vulkan codegen for RWStructuredBuffer<float4> not generating scalar access
...
#rb Lukas.Hermanns
[FYI] Brian.White, Dmitriy.Dyomin
#jira
#ROBOMERGE-SOURCE: CL 12659574 via CL 12659648 via CL 12659650
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)
[CL 12659790 by rolando caloca in Main branch]
2020-04-07 13:55:08 -04:00
carl lloyd
fe57817d94
Added Android Desktop Forward Rendering (Experimental)
...
[at]jack.porter [at]dmitry.dyomin [at]juan.canada [at]rolando.caloco
#rb jack.porter, dmitry.dyomin, juan.canada, rolando.caloco
#jira none
#ROBOMERGE-SOURCE: CL 11824876 in //UE4/Release-4.25/... via CL 11824884
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)
[CL 11824898 by carl lloyd in Main branch]
2020-03-02 11:00:17 -05:00
Rolando Caloca
5b82f15def
Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
...
#rb none
#rnx
[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
dmitriy dyomin
e199946f7d
Prevent Vulkan early fragment tests being enabled when discard instruction is used.
...
#ROBOMERGE-SOURCE: CL 11152992 via CL 11153006 via CL 11153012
#ROBOMERGE-BOT: (v640-11091645)
[CL 11153019 by dmitriy dyomin in Main branch]
2020-01-29 04:02:55 -05:00
Rolando Caloca
bbb9564388
Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main
...
#rb none
#rnx
[CL 11110369 by Rolando Caloca in Main branch]
2020-01-24 18:07:01 -05:00
dmitriy dyomin
32bb8acd0b
Support virtual textures on mobile platforms. Requires Vulkan, OpenGL ES3.1 + SRV, iPhone8 and up.
...
Disabled by default, set r.Mobile.VirtualTextures=1 to enable
known issues: RVT compression is not implementted, Android OpenGL will have R and G channels swapped for uncompressed streaming VT, no sRGB support
#jira UE-79955
#rb jeremy.moore
#ROBOMERGE-SOURCE: CL 11070636 via CL 11070637
#ROBOMERGE-BOT: (v637-11041722)
[CL 11070638 by dmitriy dyomin in Main branch]
2020-01-20 22:16:23 -05:00
ryan durand
471d972e62
Updating copyright for Engine Developer.
...
#rnx
#rb none
#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)
[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
rolando caloca
2531ce67b1
F - Write out info file containing fixed Vulkan shader SPIR-V entry point
...
#rb none
#jira
#rnx
#ROBOMERGE-SOURCE: CL 10355389 via CL 10355571
#ROBOMERGE-BOT: (v594-10333955)
[CL 10360650 by rolando caloca in Main branch]
2019-11-21 16:12:58 -05:00