mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-16 17:01:08 +00:00
fixed CRP PSO leak
This commit is contained in:
parent
ca3d15282b
commit
6cdd18157b
1 changed files with 3 additions and 0 deletions
|
@ -493,6 +493,7 @@ void VolumetricLight::Init()
|
|||
|
||||
{
|
||||
GraphicsPipelineDesc desc("VL Extinction Viz");
|
||||
desc.shortLifeTime = true;
|
||||
desc.rootSignature = RHI_MAKE_NULL_HANDLE();
|
||||
desc.vertexShader.Set(g_vl_debug_extinction_vs);
|
||||
desc.pixelShader.Set(g_vl_debug_extinction_ps);
|
||||
|
@ -507,6 +508,7 @@ void VolumetricLight::Init()
|
|||
|
||||
{
|
||||
GraphicsPipelineDesc desc("VL Sun Shadow Viz");
|
||||
desc.shortLifeTime = true;
|
||||
desc.rootSignature = RHI_MAKE_NULL_HANDLE();
|
||||
desc.vertexShader.Set(g_vl_debug_shadow_sun_vs);
|
||||
desc.pixelShader.Set(g_vl_debug_shadow_sun_ps);
|
||||
|
@ -521,6 +523,7 @@ void VolumetricLight::Init()
|
|||
|
||||
{
|
||||
GraphicsPipelineDesc desc("VL Ambient Viz");
|
||||
desc.shortLifeTime = true;
|
||||
desc.rootSignature = RHI_MAKE_NULL_HANDLE();
|
||||
desc.vertexShader.Set(g_vl_debug_ambient_vs);
|
||||
desc.pixelShader.Set(g_vl_debug_ambient_ps);
|
||||
|
|
Loading…
Reference in a new issue