Skip to content

FidelityFX_Denoiser PSSL2 compatibility#5

Open
TediShopov wants to merge 1 commit into
GPUOpen-Effects:masterfrom
TediShopov:PSSL2Compat
Open

FidelityFX_Denoiser PSSL2 compatibility#5
TediShopov wants to merge 1 commit into
GPUOpen-Effects:masterfrom
TediShopov:PSSL2Compat

Conversation

@TediShopov
Copy link
Copy Markdown

Rename local variable 'sample' to 'neighborSample' in FFX_DNSR_Reflections_LoadFromGroupSharedMemory (reproject, resolve_temporal, prefilter). 'sample' is a reserved variable type modifier in PSSL2 and cannot be used as an identifier. Replace ternary (?:) with select() for scalar values as per HLSL 2021 spec changes (https://github.com/microsoft/DirectXShaderCompiler/wiki/HLSL-2021#logical-operation-short-circuiting-for-scalars). Default-initialize variables flagged as potentially uninitialized in some code paths.

Rename local variable 'sample' to 'neighborSample' in FFX_DNSR_Reflections_LoadFromGroupSharedMemory  (reproject, resolve_temporal, prefilter). 'sample' is a reserved variable type modifier in PSSL2 and cannot be used as an identifier. Replace ternary (?:) with select() for scalar values as per  HLSL 2021 spec changes (https://github.com/microsoft/DirectXShaderCompiler/wiki/HLSL-2021#logical-operation-short-circuiting-for-scalars). Default-initialize variables flagged as potentially uninitialized in some code paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant