Skip to content

Commit 4f787c2

Browse files
victor-unitysebastienlagarde
authored andcommitted
Bind missing buffer #159
1 parent ffc58cd commit 4f787c2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

com.unity.render-pipelines.high-definition/CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
4848
- Fixed culling of planar reflection probes that change position (case 1218651)
4949
- Fixed null reference when processing lightprobe (case 1235285)
5050
- Fix black screen in XR when HDRP package is present but not used.
51-
- Fixed an issue that was collapsing the volume components in the HDRP default settings
52-
- Fixed NaN which can appear with real time reflection and inf value
53-
51+
- Fixed an issue that was collapsing the volume components in the HDRP default settings
52+
- Fixed NaN which can appear with real time reflection and inf value
53+
- Fixed warning about missing bound decal buffer
54+
5455
### Changed
5556
- Rejecting history for ray traced reflections based on a threshold evaluated on the neighborhood of the sampled history.
5657
- Renamed "Environment" to "Reflection Probes" in tile/cluster debug menu.

com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3103,6 +3103,10 @@ void RenderDBuffer(HDCamera hdCamera, CommandBuffer cmd, ScriptableRenderContext
31033103
{
31043104
// We still bind black textures to make sure that something is bound (can be a problem on some platforms)
31053105
m_DbufferManager.BindBlackTextures(cmd);
3106+
3107+
// Bind buffer to make sure that something is bound .
3108+
cmd.SetGlobalBuffer(HDShaderIDs._DecalPropertyMaskBufferSRV, m_DbufferManager.propertyMaskBuffer);
3109+
31063110
return;
31073111
}
31083112

0 commit comments

Comments
 (0)