Skip to content

Conversation

fredericv-unity3d
Copy link
Contributor


Purpose of this PR

Fixes case 1358409

Removed DLSS keyword in settings search to prevent pinging hidden DLSS properties when the NVIDIA package is not installed.


Testing status

Manual testing:

  • Searched DLSS without NVIDIA package installed: observed no result where returned
  • Searched DLSS with NVIDIA package installed: observed 2 results and DLSS highlighted properties

Comments to reviewers

@github-actions
Copy link

Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed.
Link to Yamato: https://yamato.cds.internal.unity3d.com/jobs/902-Graphics
Search for your PR branch using the sidebar on the left, then add the following segment(s) to the end of the URL (you may need multiple tabs depending on how many packages you change)

HDRP
/.yamato%252Fall-hdrp.yml%2523PR_HDRP_2021.2

Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure.

@github-actions github-actions bot added the HDRP label Aug 17, 2021
@JulienIgnace-Unity JulienIgnace-Unity requested a review from a team August 19, 2021 07:45
{
static class RenderPipelineSettingsUtilities
{
public static IEnumerable<string> Case1358409Workaround(IEnumerable<string> keywords)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need a name like this? I guess there is no other way to do that right? So it's not really necessary to reference a bug case IMO.
So having something explicit like "RemoveDLSSKeywordIfNeeded" would be fine by me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed offline, I'll wait for Julien to decide the naming

Copy link
Contributor

@remi-chapelain remi-chapelain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this solution is not "generic", sadly, as discussed with @fredericv-unity3d , we cannot do something more elegant that would include future hidden properties too.

This still fixes the issue though ✔️

# Conflicts:
#	com.unity.render-pipelines.high-definition/CHANGELOG.md
@fredericv-unity3d fredericv-unity3d marked this pull request as ready for review September 1, 2021 07:20
@sebastienlagarde sebastienlagarde merged commit e557dd9 into master Sep 1, 2021
@sebastienlagarde sebastienlagarde deleted the hd/bugfix_case_1358409 branch September 1, 2021 10:58
sebastienlagarde added a commit that referenced this pull request Sep 3, 2021
* Removed DLSS keyword from settings' search (case 1358409)

* Changed naming

* Update CHANGELOG.md

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants