Skip to content

Commit

Permalink
Fix for "Texture 'RenderWindow DepthBuffer' is TilerMemoryless. For l…
Browse files Browse the repository at this point in the history
…oad actions it can only use clear, dont_care or clear_on_tilers." for Sample_Hdr
  • Loading branch information
eugenegff committed Dec 5, 2024
1 parent 924004d commit e68d105
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions Samples/Media/2.0/scripts/materials/HDR/HDR.compositor
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,15 @@ compositor_node HdrPostprocessingNode
{
pass render_quad
{
load { colour dont_care }
load { all dont_care }
store
{
//Required by Metal as the overlays in the next pass will break the render encoder,
//causing this pass to be resolved and then the overlays would render over a black
//background (unfortunately, this also causes a performance hit).
colour store
colour store
depth dont_care
stencil dont_care
}
material HDR/FinalToneMapping
input 0 rt0
Expand All @@ -289,6 +291,19 @@ compositor_node HdrRenderUi
{
pass render_scene
{
load
{
colour load
depth dont_care
stencil dont_care
}
store
{
colour store
depth dont_care
stencil dont_care
}

lod_update_list off

//Render Overlays
Expand Down

0 comments on commit e68d105

Please sign in to comment.