Skip to content

[10.x.x] Merge Hdrp/staging [Skip CI] #775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1,746 commits into from
Jun 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1746 commits
Select commit Hold shift + click to select a range
af5f899
Added support for rasterized area light shadows in StackLit + slight …
slunity Apr 16, 2020
6b49bad
Update the scripting API for FrameSettings, FrameSettingsOverrideMask…
RSlysz Apr 16, 2020
e2a7f47
Fix for white flash happening when changing lighting condition (like …
sebastienlagarde Apr 16, 2020
14aae88
Fix default volume profile collapse (#138)
alelievr Apr 16, 2020
c43e796
Bind missing buffer (#159)
victor-unity Apr 16, 2020
1e8c558
AxF fix: Use CALCULATE_TEXTURE2D_LOD macro for future cross platform …
slunity Apr 17, 2020
b18334b
Fixed shader warning on Xbox for ResolveStencilBuffer.compute (#163)
FrancescoC-unity Apr 17, 2020
fa93c05
Texture-weighted automatic exposure (#165)
FrancescoC-unity Apr 17, 2020
58ef26c
Update 3003_LightingMode.unity
sebastienlagarde Apr 17, 2020
faf4f9b
Optimizing light loop part 2 (#2)
FrancescoC-unity Apr 17, 2020
77adae2
Added support for POM for emissive map (#51)
adrien-de-tocqueville Apr 17, 2020
23af7ab
HDRP Compositor Tool (#57)
pmavridis Apr 17, 2020
7bb0afd
PBR shader gbuffer ztest (#43)
alelievr Apr 17, 2020
8598f49
Enable Light Baking Cookies by default + Warning (#79)
skhiat Apr 17, 2020
835d6a4
Importance Sampling Pipeline (#84)
skhiat Apr 17, 2020
bbdc81d
Revert "Importance Sampling Pipeline (#84)"
sebastienlagarde Apr 17, 2020
15ab815
Reducing the number of variants for ray tracing when building a playe…
anisunity Apr 17, 2020
6118301
Update 3003_LightingMode.unity
sebastienlagarde Apr 17, 2020
6cdf38e
Fix compil issue with Enable BakeCookie
sebastienlagarde Apr 17, 2020
6ccdedf
Enable Light Baking Cookies by default + Warning - part 3 #79
sebastienlagarde Apr 18, 2020
723d4a6
Merge branch 'master' into HDRP/staging
sebastienlagarde Apr 18, 2020
4ee0e78
Avoid building the mip chain a second time for SSR for transparent ob…
anisunity Apr 18, 2020
cc673a2
Scalable volumetrics [skip ci] (#34)
EvgeniiG Apr 18, 2020
73bb7a0
Fixed runtime test for Yamato (#177)
sebastienlagarde Apr 19, 2020
c7d833d
Fix HDRP Wizard windows not compatible with "preview" package version…
sebastienlagarde Apr 19, 2020
3b168b4
Fix async compute throwing errors because of global constant buffers.…
JulienIgnace-Unity Apr 20, 2020
7c3662d
Diffusion Profile and Material references in HDRP materials are now c…
JulienIgnace-Unity Apr 20, 2020
9794a91
Refactoring to share the code for light list building better between …
JulienIgnace-Unity Apr 20, 2020
cafbc03
Removed unexpected Shuriken folder in Test Project
sebastienlagarde Apr 20, 2020
f553011
Add range attenuation to box-shaped spotlights [Skip CI] (#101)
adrien-de-tocqueville Apr 20, 2020
779143b
Hdrp/decal transparent mip selection 1222437 (#96)
skhiat Apr 20, 2020
1c04457
Fix cookie atlas alloc for cone spot lights (#187)
alelievr Apr 20, 2020
796f9bd
update template (#189)
sebastienlagarde Apr 20, 2020
ac4f3d1
Hdrp/combine material samples with shader samples [Skip CI] (#117)
SeanPuller Apr 21, 2020
95ce101
DisplayInfo attribute. (#172)
JulienIgnace-Unity Apr 21, 2020
0ee9fa8
Compute Buffer management for render graph (#194)
JulienIgnace-Unity Apr 21, 2020
54e5751
Simplify the tooltip (#188)
EvgeniiG Apr 21, 2020
0467963
Added MovedFrom attribute (#182)
fredericv-unity3d Apr 21, 2020
ae165e4
Contact shadow min distance + fix scalarization code (#150)
FrancescoC-unity Apr 21, 2020
3491823
TAA docs update (#132)
FrancescoC-unity Apr 21, 2020
cc8f364
Hdrp/deferred shadow quality multi compile (#5)
FrancescoC-unity Apr 21, 2020
a269a5c
Merge branch 'master' into HDRP/staging
sebastienlagarde Apr 21, 2020
87aa007
Hdrp/path traced dof (#164)
pmavridis Apr 21, 2020
85bf9c3
Update HDRenderPipelineAsset.asset (#210)
sebastienlagarde Apr 22, 2020
2d226eb
Fixed volume debug menu in playmode (#149)
adrien-de-tocqueville Apr 22, 2020
972b7d3
Added a new test scene for physical camera DoF in Pathtracer (#211)
remi-chapelain Apr 22, 2020
7252a99
Fixed issue when toggling anything in HDRP asset that will produce an…
sebastienlagarde Apr 22, 2020
1b48567
Merge branch 'master' into HDRP/staging
sebastienlagarde Apr 23, 2020
ef2550b
Fix warning in PCSS code when using Vulkan (#229)
FrancescoC-unity Apr 23, 2020
de5ed64
Fix decal register + obsolete cookie API (#195)
sebastienlagarde Apr 23, 2020
90a93e4
Do shadow code cleanup + Fix Yamato after PR #5 Multi compile shadow …
sebastienlagarde Apr 24, 2020
b124d13
Fixed issues with path traced SSS and accumulation. (#257)
eturquin Apr 24, 2020
756da19
Add missing documentation for AOV API params (#254)
pmavridis Apr 24, 2020
4a2ed5b
Hdrp/public static sky (#253)
JulienIgnace-Unity Apr 24, 2020
78c8b4a
Update HDAdditionalLightData.Migration.cs (#269)
sebastienlagarde Apr 25, 2020
862dc7f
Add missing docs attributes (#271)
FrancescoC-unity Apr 27, 2020
eda2a15
Fixed an error about procedural sky being logged by mistake. (#273)
JulienIgnace-Unity Apr 27, 2020
5195d3e
Fix quality settings UI and shadow mask UI (#122)
sebastienlagarde Apr 27, 2020
aa625cc
Updated raytracing async compute warning. (#274)
JulienIgnace-Unity Apr 27, 2020
24bd866
Fixed a null ref exception in static sky when the default volume prof…
JulienIgnace-Unity Apr 27, 2020
8f0782f
Merge branch 'master' into HDRP/staging
sebastienlagarde Apr 27, 2020
3b79e9b
Added SubScenes cache to be compatible with HDRP/staging (#287)
TomasKiniulis Apr 28, 2020
73d2c19
Update 2002_Light_DynamicMix.unity (#292)
sebastienlagarde Apr 28, 2020
26d953e
Merge branch 'master' into HDRP/staging
sebastienlagarde Apr 28, 2020
050049f
Update HDCubemapInspector.cs (#296)
sebastienlagarde Apr 28, 2020
89fbf61
increase tolerance for test 5008 in VR due to recent changes (#311)
fabien-unity Apr 28, 2020
df9736a
Upate screenshot for HDRP DXR Test (#312)
anisunity Apr 28, 2020
b3663f7
Merge branch 'master' into HDRP/staging
sebastienlagarde Apr 30, 2020
4c7ddf4
Fix SSS code doc (#319)
EvgeniiG May 4, 2020
f595bcc
Merge branch 'master' into HDRP/staging
sebastienlagarde May 4, 2020
a0be82e
Merge branch 'master' into HDRP/staging
sebastienlagarde May 5, 2020
5b40e3c
Fix issue with screen-space shadows not enabled with RT off (#139)
pmavridis May 5, 2020
98520f1
Fixed a performance issue with stochastic ray traced area shadows. (#…
anisunity May 5, 2020
81dfcce
Fix bad merge of the light loop optimization PR (an optimization was …
FrancescoC-unity May 5, 2020
8ef68ef
Merge branch 'master' into HDRP/staging
sebastienlagarde May 6, 2020
7c09c04
Camera override API (#170)
alelievr May 6, 2020
8ad7625
Fix cookie srgb (#297)
alelievr May 6, 2020
b91bd21
Fix flickering lighting in the scene and game view when lookdev is op…
JulienIgnace-Unity May 6, 2020
b18b35c
Added a function to reset the reference size of RTHandle systems. (#299)
JulienIgnace-Unity May 6, 2020
24f36eb
Merge branch 'master' into HDRP/staging
sebastienlagarde May 6, 2020
379dcf3
Merge branch 'master' into HDRP/staging
sebastienlagarde May 6, 2020
6d6b16f
Fix issue with ambient probe not being correct with OnEnable/OnDemand…
FrancescoC-unity May 6, 2020
579f009
Fix Motion Vectors written by transparent when rendering with MSAA (#…
FrancescoC-unity May 6, 2020
1e046d2
Merge branch 'master' into HDRP/staging
sebastienlagarde May 7, 2020
12aed73
Hdrp/reflection probe scale perf (#252)
fredericv-unity3d May 7, 2020
93fd72d
[9.x.x] Axf measurements into tilings (#289)
slunity May 7, 2020
ff7a124
fix 9402screenshots on vulkan
sebastienlagarde May 8, 2020
0e4e7e0
Update HDRP graphic test framework with Test Broken / TestFilter scri…
sebastienlagarde May 8, 2020
fb8e47d
Merge branch 'master' into HDRP/staging
sebastienlagarde May 11, 2020
e7c6276
Hd/add layer modification on generated emissive mesh for area light (…
RSlysz May 11, 2020
dc35b61
Disable async compute for D3D12 [Hold] (#301)
FrancescoC-unity May 12, 2020
c82273c
Hd/fix nullref while removing decal component (#416)
RSlysz May 12, 2020
ecc4db3
Added a flow map parameter to HDRI Sky (#44)
adrien-de-tocqueville May 12, 2020
dbc41cf
Fix issue with Uber Post process shader when alpha is enabled (#422)
FrancescoC-unity May 12, 2020
21f100e
replace fbx by the one from URP with no import errors (#427)
fabien-unity May 12, 2020
31b3b49
Fix the bug (#430)
skhiat May 13, 2020
6c10e27
Fix issue with corrupted values with Layer Lit when using multiply mo…
FrancescoC-unity May 13, 2020
2e21a4e
Renamed variables (#436)
adrien-de-tocqueville May 13, 2020
3f84559
Merge branch 'master' into HDRP/staging
sebastienlagarde May 13, 2020
ef86567
Fix issue with the resolve of motion vectors (#421)
FrancescoC-unity May 13, 2020
f7a3590
Hd/fix targets used in ongui in decalcomponent (#413)
RSlysz May 13, 2020
0c23142
Implemented ray traced reflections for transparent objects. (#47)
anisunity May 13, 2020
3b74fd9
Fix custom pass graphic tests (#359)
alelievr May 13, 2020
943e8be
Save scene-view camera settings in Editor prefs (#440)
pmavridis May 13, 2020
0588755
Fix issue when switching back to custom sensor type in physical camer…
pmavridis May 13, 2020
4c26a41
Fix a null ref exception when running playmode tests (#360)
fabien-unity May 13, 2020
8320da9
Fixed some gcalloc in the debug window (#445)
JulienIgnace-Unity May 13, 2020
f06bc17
Merge branch 'master' into HDRP/staging
sebastienlagarde May 13, 2020
e6264b0
Update reference screenshot dx12
sebastienlagarde May 13, 2020
1afb3cb
Fixed shader graphs not casting semi-transparent and color shadows (c…
anisunity May 13, 2020
6518685
Create Shaders.meta
sebastienlagarde May 13, 2020
d249db9
Merge branch 'HDRP/staging' of https://github.com/Unity-Technologies/…
sebastienlagarde May 13, 2020
229c2ae
Hdrp/small ui update (#423)
JulienIgnace-Unity May 13, 2020
db945ce
update settings for DXR
sebastienlagarde May 13, 2020
401b4ed
Update SetToCameraNearPlane.cs
sebastienlagarde May 13, 2020
1df31c6
Merge branch 'HDRP/staging' of https://github.com/Unity-Technologies/…
sebastienlagarde May 13, 2020
c6aa4cf
Merge branch 'master' into HDRP/staging
sebastienlagarde May 13, 2020
2dfeab2
Add an option to disable shadow bias
EvgeniiG May 14, 2020
cea0993
Don't query cull results if we don't have them (#449)
FrancescoC-unity May 14, 2020
ea8ba52
Update screenshot (#463)
anisunity May 14, 2020
cb97634
Disable test HDRP_GraphicTestRunner.8105_BlendStates_b on DX12
sebastienlagarde May 14, 2020
e7a9fdb
Update TestCaseFilters.asset
sebastienlagarde May 14, 2020
ad6e5b3
Revert "Disable async compute for D3D12 [Hold] (#301)" (#469)
sebastienlagarde May 14, 2020
02b1594
Revert "Add an option to disable shadow bias"
sebastienlagarde May 14, 2020
941af03
PBR Sky renderer now shares its internal precomputation table between…
JulienIgnace-Unity May 14, 2020
8787a98
Makes sure quaternion is normalized and valid before converting to ma…
eturquin May 14, 2020
5abb1ca
New tooltip for camera background and fixed exposure when switching t…
JulienIgnace-Unity May 14, 2020
ad9b7dd
Fix issue causing not all baked reflection probes to be deleted (#441)
FrancescoC-unity May 14, 2020
c499e2c
Fixed asset preview being rendered white because of static lighting s…
JulienIgnace-Unity May 14, 2020
61d8820
Fixed null reference exception in LookDev when setting the SRP to Non…
pmavridis May 15, 2020
f6c634b
Fix show cookie atlas debug mode (#475)
alelievr May 15, 2020
54225e4
Enable DXR playmode test (#472)
sebastienlagarde May 15, 2020
753d166
Fix few multi-editing issues with Emission UI (#473)
FrancescoC-unity May 15, 2020
bb07601
Re-enable cubemap thumbnail gen only for d3d11 (#487)
FrancescoC-unity May 15, 2020
e9ef526
Check reflection probe null pointer before use. (case 1244047) (#456)
fredericv-unity3d May 15, 2020
b8ee34d
Remove max atlas probe alloc size in HDRP asset (#458)
alelievr May 15, 2020
3e08b48
Hd/fix undo environmentlibrary lookdev (#490)
RSlysz May 15, 2020
55e6e5f
Fix vulkan test
sebastienlagarde May 15, 2020
f5badc4
SSGI Implementation (#95)
anisunity May 15, 2020
557e181
Change Sky in 5001 PT Test to HDRI Sky + update image (#502)
remi-chapelain May 16, 2020
b270bc6
Update 802_SubSurfaceScatteringForward.unity
sebastienlagarde May 16, 2020
0f9d304
fix vulkan warring and wrong meta
sebastienlagarde May 16, 2020
6d2b76f
Merge branch 'master' into HDRP/staging
sebastienlagarde May 16, 2020
13ec70e
Update upm-ci-hdrp.yml
sebastienlagarde May 16, 2020
25fb479
Merge branch 'master' into HDRP/staging
sebastienlagarde May 18, 2020
a7af15c
Fix merge issue with Test filter
sebastienlagarde May 18, 2020
3b4eec6
Use path relative to package for depth of field (#523)
FrancescoC-unity May 18, 2020
1cbecd5
Fix Light overlap (#444)
alelievr May 18, 2020
f1f0a00
Merge branch 'master' into HDRP/staging
sebastienlagarde May 18, 2020
d9a21da
Fixed API breakage. (#524)
JulienIgnace-Unity May 18, 2020
2ab0635
[Docs] Add missing documentation for Accumulation, AOVs, path-traced …
pmavridis May 18, 2020
0166b90
Restore some XR HDRP tests (#382)
fabien-unity May 18, 2020
bb0953a
Fix taaFrameIndex and restore TAA tests for XR (#534)
fabien-unity May 18, 2020
924797a
Fixed the sub surface mask not being taken into account when computin…
anisunity May 18, 2020
16dfa44
Add support for batchmode (#542)
sebastienlagarde May 18, 2020
b2eac95
Update 9301_MotionVectorsOff-Forward-Dynamic.png
sebastienlagarde May 18, 2020
fef1219
Merge branch 'master' into HDRP/staging
sebastienlagarde May 18, 2020
865171c
Merge branch 'master' into HDRP/staging
sebastienlagarde May 18, 2020
c39bb0c
Fix custom pass prefabs (#419)
alelievr May 19, 2020
3097660
Correctly dealloc/realloc resources when switching RenderGraph on and…
JulienIgnace-Unity May 19, 2020
f223265
Clone in the Asset folder when the original volume profile is in a re…
fredericv-unity3d May 19, 2020
5110038
Adding code for history rejection for SSGI and adding a disabled test…
anisunity May 19, 2020
6711e78
Custom Pass API (part 1) (#155)
alelievr May 19, 2020
53fba89
Implement Constant Buffers for HDRP (part 3) (#98)
JulienIgnace-Unity May 19, 2020
efc6860
Merge branch 'master' into HDRP/staging
sebastienlagarde May 19, 2020
24dc353
Hd/fix wizard defaultvolumeprofile creation (#565)
RSlysz May 22, 2020
53f4d98
Small TAA Anti-flicker changes (#555)
FrancescoC-unity May 22, 2020
3bb3565
Fix central depth sampling in TAA (#564)
FrancescoC-unity May 22, 2020
36aa2e0
Render Graph Async Compute (#552)
JulienIgnace-Unity May 22, 2020
4f78eed
Change exposure compensation in the default volume profile to 0. (#388)
FrancescoC-unity May 22, 2020
ccc12a8
Histogram guided auto-exposure + debug modes (#372)
FrancescoC-unity May 22, 2020
6019bfa
Refactor shadow caching system (#554)
FrancescoC-unity May 22, 2020
064f17d
update reference screenshots
sebastienlagarde May 22, 2020
208c30d
VFX test: Replace auto exposure by fix exposure in ParticleRibbonTest
sebastienlagarde May 23, 2020
54c3504
Fixed light layers not correctly disabled when the lightlayers is set…
sebastienlagarde May 23, 2020
d49e8c7
remove useless code for cookie
sebastienlagarde May 23, 2020
a9fa7f6
Merge branch 'master' into HDRP/staging
sebastienlagarde May 23, 2020
66b5a7e
Merge branch 'master' into HDRP/staging
sebastienlagarde May 23, 2020
761909b
Hdrp/fix camera switcher (#591)
JulienIgnace-Unity May 25, 2020
c7a3462
fix issue that prevents PS4 from building (#596)
FrancescoC-unity May 25, 2020
56c48ce
Merge branch 'master' into HDRP/staging
sebastienlagarde May 26, 2020
119b9c5
Removed experimental namespace for ray tracing code. (#612)
anisunity May 26, 2020
0b7a371
Hdrp/multi view pt (#518)
eturquin May 27, 2020
b72b994
Merge branch 'master' into HDRP/staging
sebastienlagarde May 27, 2020
e6d4a11
Fix Look Dev default profile not updating correctly (#630)
JulienIgnace-Unity May 27, 2020
394733b
Merge branch 'master' into HDRP/staging
sebastienlagarde May 27, 2020
58d3f46
Fix Unlit.template in shadergraph (#637)
sebastienlagarde May 28, 2020
97f9c12
Fixed a bug where the light list is not cleared but still used when r…
anisunity May 28, 2020
9d663e0
Histogram view improvements (#589)
FrancescoC-unity May 28, 2020
5a422a3
Merge branch 'master' into HDRP/staging
sebastienlagarde May 28, 2020
637e3af
Update 9702_CustomPass_API.png.meta
sebastienlagarde May 28, 2020
2f376b3
Fix warning (#663)
FrancescoC-unity May 29, 2020
3186533
add shader macros for XR single-pass (#687)
fabien-unity Jun 1, 2020
424ef09
Adding 2 SG Pathtracer test scenes (#624)
remi-chapelain Jun 2, 2020
76a179a
Merge branch 'master' into HDRP/staging
sebastienlagarde Jun 2, 2020
f782e09
Render Graph Unit Tests (#607)
JulienIgnace-Unity Jun 2, 2020
863ef2f
Increase max limit in UX of lights (#702)
sebastienlagarde Jun 2, 2020
c98e6d8
Fix null reference in volume debug menu (#705)
adrien-de-tocqueville Jun 2, 2020
3129d93
Update reference image for "502_RecursiveRenderingDisabled" (#704)
remi-chapelain Jun 2, 2020
63b76f6
Fix transparent movec scene view (#698)
FrancescoC-unity Jun 2, 2020
4f9d66e
Merge branch 'master' into HDRP/staging
sebastienlagarde Jun 2, 2020
6573a4c
Port (#599)
FrancescoC-unity Jun 3, 2020
f43c993
Custom Pass API part 2 (#227)
alelievr Jun 4, 2020
6313466
Fix line that got lost in merge (#729)
FrancescoC-unity Jun 4, 2020
8cae6ec
Porting console fixes to staging (#699)
FrancescoC-unity Jun 4, 2020
0fd6c06
Path tracer: added support for transparency on the Unlit shader. (#717)
eturquin Jun 4, 2020
86fae39
HDRP Compositor related fixes (#730)
pmavridis Jun 4, 2020
d573175
Fixed a vulkan and metal warning in the SSGI compute shader. (#715)
anisunity Jun 4, 2020
37e93e7
Fix path traced DoF focusing issue (#732)
pmavridis Jun 5, 2020
172fa10
Merge branch 'master' into HDRP/staging
sebastienlagarde Jun 5, 2020
99ad3c2
Remove mip padding from PlanarReflectionProbeCache.cs
sebastienlagarde Jun 5, 2020
74cc8b1
Disable 9702 test nor working + 9041 XR (instable)
sebastienlagarde Jun 5, 2020
cc7c135
Hdrp/pt pass no bsdf data (#710)
eturquin Jun 6, 2020
86bd3be
Merge branch 'master' into HDRP/staging
sebastienlagarde Jun 6, 2020
ce91de1
fix metal 9800 reference screnshots
sebastienlagarde Jun 6, 2020
3ca86ce
update meta file and testcasefilter
sebastienlagarde Jun 6, 2020
7a2f34c
Pre warm RT Handle system so that reallocations are reduced. (#713)
FrancescoC-unity Jun 6, 2020
3e4cc5c
Various fixes for Graphics tests with Render Graph (#725)
JulienIgnace-Unity Jun 6, 2020
64265d0
Various fix and improvements for ray traced effects (#597)
anisunity Jun 6, 2020
c7c0a78
Procedural metering mask that follows target (#723)
FrancescoC-unity Jun 6, 2020
5a74817
- Added presets quality settings for RTAO and RTGI. (#724)
anisunity Jun 6, 2020
d12203f
Fix compilation issue in HDRaytracingIndirectDiffuse
sebastienlagarde Jun 6, 2020
b364287
Merge branch 'master' into HDRP/staging
sebastienlagarde Jun 6, 2020
e03c9a6
fix shader warning in exposure
sebastienlagarde Jun 6, 2020
e200dfc
Merge branch 'master' into HDRP/staging
sebastienlagarde Jun 6, 2020
30f55e0
Added an override for the shadow culling that allows better direction…
anisunity Jun 7, 2020
b3efe9a
Removed reference image for player (unused) in HDRP Test
sebastienlagarde Jun 7, 2020
ab2597e
Update preview naming (#753)
sebastienlagarde Jun 7, 2020
9ff2b63
Cloud layer volume override (#461)
adrien-de-tocqueville Jun 8, 2020
611b4b1
Introduce LightLoop output structure (#754)
sebastienlagarde Jun 8, 2020
ca1f2ce
Fix lightloop-output (#755)
sebastienlagarde Jun 8, 2020
aad44d7
Merge branch 'master' into HDRP/staging
sebastienlagarde Jun 8, 2020
d2ab1de
Fix rendering when XrMaxViews is different than 2 (#733)
FrancescoC-unity Jun 8, 2020
d2651e6
Merge branch 'master' into HDRP/staging
sebastienlagarde Jun 8, 2020
a8753e1
Improve transition between LOD for lit and layeredLit tessellation (#…
sebastienlagarde Jun 8, 2020
3e36633
fix ray tracing with XR single-pass (#769)
fabien-unity Jun 8, 2020
f125071
Revert "fix ray tracing with XR single-pass (#769)"
sebastienlagarde Jun 8, 2020
6ed2681
reviewed new additions to 2019.3 - 2020.1 and 2020.1 - 2020.2 upgrade…
JordanL8 Jun 8, 2020
efb76d5
Probe Volumes: Update SampleBakedGI() API (#759)
sebastienlagarde Jun 9, 2020
936eb6c
Initial implementation for the new planar reflection filtering (#337)
anisunity Jun 9, 2020
83a00dd
Fast memory support (#772)
FrancescoC-unity Jun 9, 2020
9063e92
Standard terrain upgrader (#762)
remi-chapelain Jun 9, 2020
4bcb436
Add render graph specific pipeline to HDRP tests. (#728)
JulienIgnace-Unity Jun 9, 2020
ffe11fe
Added CPU and GPU timings for ray tracing effects. (#774)
anisunity Jun 9, 2020
644ab86
Workaround for GetKernelThreadGroupSizes returning wrong data (#760)
FrancescoC-unity Jun 9, 2020
a39f4c4
Fixed the distanced based denoising being exposed for area lights (12…
anisunity Jun 9, 2020
3b7eff1
Fix test project
sebastienlagarde Jun 9, 2020
7614bcb
Fix an issue with Fast memory code trying to access deleted resources…
FrancescoC-unity Jun 9, 2020
1a30576
Sanitize transparent motion vectors setting (#761)
adrien-de-tocqueville Jun 9, 2020
2de8496
Revert "Add render graph specific pipeline to HDRP tests. (#728)"
sebastienlagarde Jun 9, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public enum ShaderOptions
// Changing a value in this enum Config here require to regenerate the hlsl include and recompile C# and shaders
public class ShaderConfig
{
public const int k_XRMaxViewsForCBuffer = 2; // REALLY IMPORTANT! This needs to be the maximum possible XrMaxViews for any supported platform!
// this needs to be constant and not vary like XrMaxViews does as it is used to generate the cbuffer declarations

public static int s_CameraRelativeRendering = (int)ShaderOptions.CameraRelativeRendering;
public static int s_PreExposition = (int)ShaderOptions.PreExposition;
public static int s_XrMaxViews = (int)ShaderOptions.XrMaxViews;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,17 @@ MonoBehaviour:
- FilteredScene: {fileID: 102900000, guid: 09baf18a7e1f6584f86675e6a2141c66, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 18
GraphicsDevice: 21
XrSdk:
StereoModes: 0
Reason: Randomly fail on yamato
Reason: flip flop
- FilteredScene: {fileID: 102900000, guid: 09baf18a7e1f6584f86675e6a2141c66, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 21
GraphicsDevice: 18
XrSdk:
StereoModes: 0
Reason: flip flop
Reason: Randomly fail on yamato
- FilteredScene: {fileID: 102900000, guid: 292a7700209ba7c49ab0bcef8b7c8940, type: 3}
ColorSpace: 1
BuildPlatform: -2
Expand All @@ -203,6 +203,13 @@ MonoBehaviour:
XrSdk:
StereoModes: 0
Reason: 'unstable: Geometry explode on Yamato'
- FilteredScene: {fileID: 102900000, guid: 9fdfbe7bced924d4791cf6fa031218d2, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 16
XrSdk:
StereoModes: 0
Reason: 'unstable: Geometry explode on Yamato'
- FilteredScene: {fileID: 102900000, guid: c034386e3fb58f44783743edf9b0f4a4, type: 3}
ColorSpace: 1
BuildPlatform: -2
Expand Down Expand Up @@ -437,17 +444,17 @@ MonoBehaviour:
- FilteredScene: {fileID: 102900000, guid: e75b9916869e2384b8e53bc6bffb1314, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 21
GraphicsDevice: 18
XrSdk:
StereoModes: 0
Reason: flip flop
Reason: unstable
- FilteredScene: {fileID: 102900000, guid: e75b9916869e2384b8e53bc6bffb1314, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 18
GraphicsDevice: 21
XrSdk:
StereoModes: 0
Reason: unstable
Reason: flip flop
- FilteredScene: {fileID: 102900000, guid: 277b6e81295b84afaa297d0889efb8a1, type: 3}
ColorSpace: 1
BuildPlatform: -2
Expand Down Expand Up @@ -504,6 +511,13 @@ MonoBehaviour:
XrSdk:
StereoModes: 0
Reason: flip flop
- FilteredScene: {fileID: 102900000, guid: d00305c429b50834eb16887388118552, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 16
XrSdk:
StereoModes: 0
Reason: 'unstable: Geometry explode on Yamato'
- FilteredScene: {fileID: 102900000, guid: d00305c429b50834eb16887388118552, type: 3}
ColorSpace: 1
BuildPlatform: -2
Expand All @@ -518,7 +532,7 @@ MonoBehaviour:
XrSdk:
StereoModes: 0
Reason: flip flop
- FilteredScene: {fileID: 102900000, guid: d00305c429b50834eb16887388118552, type: 3}
- FilteredScene: {fileID: 102900000, guid: c94380e34bef7d24c9d95f520ee006b1, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 16
Expand All @@ -532,7 +546,7 @@ MonoBehaviour:
XrSdk:
StereoModes: 0
Reason: flip flop
- FilteredScene: {fileID: 102900000, guid: c94380e34bef7d24c9d95f520ee006b1, type: 3}
- FilteredScene: {fileID: 102900000, guid: 4f2cb986918804f4aad481246d4b54ba, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 16
Expand All @@ -549,17 +563,17 @@ MonoBehaviour:
- FilteredScene: {fileID: 102900000, guid: 6cfc34a76b5a8334b850c3129d9069c7, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 16
GraphicsDevice: 21
XrSdk:
StereoModes: 0
Reason: 'unstable: Geometry explode on Yamato'
Reason: flip flop
- FilteredScene: {fileID: 102900000, guid: 6cfc34a76b5a8334b850c3129d9069c7, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 21
GraphicsDevice: 16
XrSdk:
StereoModes: 0
Reason: flip flop
Reason: 'unstable: Geometry explode on Yamato'
- FilteredScene: {fileID: 102900000, guid: aa2b8ed7d0d276340b794c91ebc7cdce, type: 3}
ColorSpace: 1
BuildPlatform: -2
Expand Down Expand Up @@ -612,24 +626,24 @@ MonoBehaviour:
- FilteredScene: {fileID: 102900000, guid: 520aec2f141eeaf4daceb4e016157b78, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 21
GraphicsDevice: 16
XrSdk:
StereoModes: 0
Reason: unstable
Reason: unstable on yamato
- FilteredScene: {fileID: 102900000, guid: 520aec2f141eeaf4daceb4e016157b78, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 16
GraphicsDevice: 18
XrSdk:
StereoModes: 0
Reason: unstable on yamato
Reason: unstable with Yamato
- FilteredScene: {fileID: 102900000, guid: 520aec2f141eeaf4daceb4e016157b78, type: 3}
ColorSpace: 1
BuildPlatform: -2
GraphicsDevice: 18
GraphicsDevice: 21
XrSdk:
StereoModes: 0
Reason: unstable with Yamato
Reason: unstable
- FilteredScene: {fileID: 102900000, guid: 78446c36daacd444c8a07b5671274a51, type: 3}
ColorSpace: 1
BuildPlatform: -2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,19 @@ public enum TextureSizeMode
Functor
}

/// <summary>
/// Subset of the texture desc containing information for fast memory allocation (when platform supports it)
/// </summary>
public struct FastMemoryDesc
{
///<summary>Whether the texture will be in fast memory.</summary>
public bool inFastMemory;
///<summary>Flag to determine what parts of the render target is spilled if not fully resident in fast memory.</summary>
public FastMemoryFlags flags;
///<summary>How much of the render target is to be switched into fast memory (between 0 and 1).</summary>
public float residencyFraction;
}

/// <summary>
/// Descriptor used to create texture resources
/// </summary>
Expand Down Expand Up @@ -169,6 +182,8 @@ public struct TextureDesc
public RenderTextureMemoryless memoryless;
///<summary>Texture name.</summary>
public string name;
///<summary>Descriptor to determine how the texture will be in fast memory on platform that supports it.</summary>
public FastMemoryDesc fastMemoryDesc;

// Initial state. Those should not be used in the hash
///<summary>Texture needs to be cleared on first use.</summary>
Expand Down Expand Up @@ -544,6 +559,12 @@ internal void CreateAndClearTexture(RenderGraphContext rgContext, TextureHandle
{
CreateTextureForPass(ref resource);

var fastMemDesc = resource.desc.fastMemoryDesc;
if(fastMemDesc.inFastMemory)
{
resource.rt.SwitchToFastMemory(rgContext.cmd, fastMemDesc.residencyFraction, fastMemDesc.flags);
}

if (resource.desc.clearBuffer || m_RenderGraphDebug.clearRenderTargetsAtCreation)
{
bool debugClear = m_RenderGraphDebug.clearRenderTargetsAtCreation && !resource.desc.clearBuffer;
Expand Down
46 changes: 46 additions & 0 deletions com.unity.render-pipelines.core/Runtime/Textures/RTHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,51 @@ public Vector2Int GetScaledSize(Vector2Int refSize)
);
}
}

/// <summary>
/// Switch the render target to fast memory on platform that have it.
/// </summary>
/// <param name="cmd">Command buffer used for rendering.</param>
/// <param name="residencyFraction">How much of the render target is to be switched into fast memory (between 0 and 1).</param>
/// <param name="flags">Flag to determine what parts of the render target is spilled if not fully resident in fast memory.</param>
/// <param name="copyContents">Whether the content of render target are copied or not when switching to fast memory.</param>

public void SwitchToFastMemory(CommandBuffer cmd,
float residencyFraction = 1.0f,
FastMemoryFlags flags = FastMemoryFlags.SpillTop,
bool copyContents = false
)
{
#if UNITY_2020_2_OR_NEWER
residencyFraction = Mathf.Clamp01(residencyFraction);
cmd.SwitchIntoFastMemory(m_RT, flags, residencyFraction, copyContents);
#endif
}

/// <summary>
/// Switch the render target to fast memory on platform that have it and copies the content.
/// </summary>
/// <param name="cmd">Command buffer used for rendering.</param>
/// <param name="residencyFraction">How much of the render target is to be switched into fast memory (between 0 and 1).</param>
/// <param name="flags">Flag to determine what parts of the render target is spilled if not fully resident in fast memory.</param>
public void CopyToFastMemory(CommandBuffer cmd,
float residencyFraction = 1.0f,
FastMemoryFlags flags = FastMemoryFlags.SpillTop
)
{
SwitchToFastMemory(cmd, residencyFraction, flags, copyContents: true);
}

/// <summary>
/// Switch out the render target from fast memory back to main memory on platforms that have fast memory.
/// </summary>
/// <param name="cmd">Command buffer used for rendering.</param>
/// <param name="copyContents">Whether the content of render target are copied or not when switching out fast memory.</param>
public void SwitchOutFastMemory(CommandBuffer cmd, bool copyContents = true)
{
#if UNITY_2020_2_OR_NEWER
cmd.SwitchOutOfFastMemory(m_RT, copyContents);
#endif
}
}
}
Loading