Commit Graph

15 Commits

Author SHA1 Message Date
jamie hayes
de0023eb07 Fix bugs with Nanite's depth export compute shader where it would not clear stencil when expanding tiles with HiS
#rb graham.wihlidal
#jira UE-188646

[CL 26255984 by jamie hayes in ue5-main branch]
2023-06-27 09:33:18 -04:00
graham wihlidal
527dae10c4 Fix for Hi-S zcompare base on some platforms
[FYI] jamie.hayes

[CL 26207286 by graham wihlidal in ue5-main branch]
2023-06-23 05:56:17 -04:00
graham wihlidal
456825241c Corrected EncodeTileStencilZBaseDelta HTile encoder to properly use ZMax as the ZBase in the Hi-S path instead of ZMin, due to reverse Z. Also optimized the encoding logic.
[FYI] luke.thatcher, yuriy.odonnell, wojciech.krywult, rune.stubbe

[CL 26117201 by graham wihlidal in ue5-main branch]
2023-06-20 06:52:08 -04:00
jamie hayes
ed6a1c536c Fix issues with the Nanite depth export shader path and Nanite custom depth rendering.
#rb graham.wihlidal
#jira UE-174675
#rnx
#preflight 642f40d185398c090c34112f

[CL 24958600 by jamie hayes in ue5-main branch]
2023-04-06 18:12:00 -04:00
graham wihlidal
4103f862c1 Fix include order for PLATFORM_SUPPORTS_HTILE_LOOKUP in HTileEncoding.ush - the per platform lookup headers incorrectly define platform support instead of our usual method, so prior to this change, support was being compiled out incorrectly.
#preflight skip

[CL 23011659 by graham wihlidal in ue5-main branch]
2022-11-07 11:10:04 -05:00
graham wihlidal
49720bf0f4 Wrap logic in HTileEncoding.ush with PLATFORM_SUPPORTS_HTILE_LOOKUP
#preflight skip

[CL 23004196 by graham wihlidal in ue5-main branch]
2022-11-06 08:19:35 -05:00
graham wihlidal
00c27c2306 Implemented support for decoding single sample depth Z planes
#rb rune.stubbe
[FYI] brian.karis, luke.thatcher, ben.woodhouse
#preflight skip

[CL 23003628 by graham wihlidal in ue5-main branch]
2022-11-05 22:34:40 -04:00
eric mcdaniel
4e57ae50ca Global shader compilation warning cleanup
- newer DXC versions introduced a warning of ambigous type on bit shift operations
  - made a pass through global shaders to clean up those warnings
  - also hit any misc warnings encountered

#rb brian.white, krzysztof.narkowicz
#jira UECON-545

[CL 16831175 by eric mcdaniel in ue5-main branch]
2021-07-12 16:43:40 -04:00
Jian Ru
665227de88 Fix some errors in EncodeTileStencilZBaseDelta
#jira none
#rb rolando.caloca
#fyi rolando.caloca,graham.wihlidal

[CL 14923918 by Jian Ru in ue5-main branch]
2020-12-14 20:09:16 -04:00
graham wihlidal
f9f6a0ef31 Implemented HTILE Hi-Stencil encoder, and major refactor to make encoder variant determined by hidden per-platform query (implemented prior) + lots of code cleanup.
#rb rune.stubbe
#fyi brian.karis, luke.thatcher, eric.mcdaniel

[CL 14454677 by graham wihlidal in ue5-main branch]
2020-10-08 20:08:00 -04:00
Arne Schober
f0f1a44526 SS - Fixing Ps4 shader compile errors.
#fyi Graham.Wihlidal

[CL 13852377 by Arne Schober in ue5-main branch]
2020-07-14 00:34:31 -04:00
graham wihlidal
00a83add5f Minor cleanup to EncodeTileMinMaxDepth
#rb none

[CL 13849181 by graham wihlidal in ue5-main branch]
2020-07-13 14:57:44 -04:00
Michal Valient
eb45e7c33a - non unity build fix
- copyright warning fixes
#rb none

[CL 13836227 by Michal Valient in ue5-main branch]
2020-07-07 14:29:30 -04:00
Michal Valient
6c340cb72c - workaround for cook issue.
#fyi graham.wihlidal
#rb none

[CL 13835463 by Michal Valient in ue5-main branch]
2020-07-07 05:35:30 -04:00
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -04:00