-
Notifications
You must be signed in to change notification settings - Fork 855
Reduce clear calls in TextureCache ClearCache functions #3999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It appears that you made a non-draft PR! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to the Unity SRP repo!
Please make sure to fill out the PR template as best you can to give reviewers as much information as possible.
If you have any questions (and you are a Unity employee) go to "#devs-renderpipe"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed with @christine-johnson and the tests she did sounded good to me. (Checked via renderdoc that clears do happen)
Let's see how yamato goes.
* [HDRP] Merge Hd/bugfix #3920 * fix various issue * Update 1302_StackLitSG_PixarLM.unity * Added information about requiring directional lights (#3899) * Increased resolution of light cheat sheet (#3903) * Update 1302_StackLitSG_PixarLM.png * Dirtying an asset that was upgraded to a new Version #3964 * Reduce clear calls in TextureCache ClearCache functions #3999 * [HDRP] Merge Hd/bugfix #4005 * Moved path tracing limitations to the path tracing documentation and added information about streaming virtual texturing. (#4014) * Added information clarifying what ambient occlusion is available in AOVs (#4042) * Fix spot light near plane gizmo (#4026) * Update DebugDisplay.cs Co-authored-by: Lewis Jordan <lewis.jordan@hotmail.co.uk> Co-authored-by: Jennifer Roig-Deslandes <71718938+jenniferd-unity@users.noreply.github.com> Co-authored-by: christine-johnson <60632921+christine-johnson@users.noreply.github.com> Co-authored-by: Robert Cupisz <robertcupisz@gmail.com>
This reverts commit f6a95c0.
* Fixing planar reflection probes issues [FogBugz 1312153] #3627 * Update PostProcessSystem.cs * Update PostProcessSystem.RenderGraph.cs * Update HDCamera.cs * Update PostProcessSystem.cs * Update HDCamera.cs * Update HDRenderPipeline.cs * Update HDRenderPipeline.cs * Update 002-HDMaterials.png * update reference screenshots * Added information about requiring directional lights (#3899) * Increased resolution of light cheat sheet (#3903) * [HDRP] Merge Hd/bugfix #3920 * Update 1302_StackLitSG_PixarLM.unity * Update 1302_StackLitSG_PixarLM.png * Dirtying an asset that was upgraded to a new Version #3964 * [HDRP] bugfixes scene selection pass in SG, StackLit debug specular color mod #3985 * Reduce clear calls in TextureCache ClearCache functions (#3999) * [HDRP] Merge Hd/bugfix #4005 * [HDRP] Merge Hd/bugfix #4005 * Formatting Co-authored-by: Kleber Garcia <kleber.garcia@unity3d.com> Co-authored-by: Lewis Jordan <lewis.jordan@hotmail.co.uk> Co-authored-by: Jennifer Roig-Deslandes <71718938+jenniferd-unity@users.noreply.github.com> Co-authored-by: slunity <37302815+slunity@users.noreply.github.com> Co-authored-by: christine-johnson <60632921+christine-johnson@users.noreply.github.com>
Purpose of this PR
Reduces clear calls in TextureCache ClearCache functions by clearing texture arrays in a single call rather than clearing each slice separately.