Skip to content
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

Internal/2022.3/staging #8060

Merged
merged 27 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
09e4375
[2022.3][URP] Fixing a NullReferenceException when logging an error i…
svc-reach-platform-support Mar 25, 2024
7e23de3
Fix for distortion bug when using direct render to eye texture in XR
lpledouxUnity Mar 26, 2024
2839b21
[Port] [2022.3] URP: Ensure ScriptableRendererFeatures are compiled b…
svc-reach-platform-support Mar 26, 2024
3246ee2
[Port] [2022.3] Fix URP & HDRP material UI leaking LabelWidth state
svc-reach-platform-support Mar 26, 2024
50d9567
2022.3:[HDRP] multiply spec by opacity when not preserving spec in pr…
ppandi-rythmos Mar 27, 2024
acf9f28
[Port] [2022.3] [URP] Fix screenspace shadows clashing when depth pri…
svc-reach-platform-support Mar 27, 2024
ac3bad4
[Port] [2022.3] [URP] Fixed the NativeRenderPass camera target MSAA l…
svc-reach-platform-support Mar 28, 2024
8045058
[2022.3][URP] Select correct depth target when doing SwapColorBuffer …
ellioman Mar 28, 2024
a386e80
[2022.3][VFX] Backport model invalidation fixes
julienf-unity Mar 29, 2024
7a4baad
[Port] [2022.3] Fixed the recorder output to render target
svc-reach-platform-support Mar 29, 2024
2311593
[Port] [2022.3] Fixed _ScreenParams after upscaling and update screen…
svc-reach-platform-support Mar 29, 2024
dc1df87
[Port] [2022.3] Fixed Unity-specific #pragma directives being reporte…
zoe-bare-unity3d Apr 3, 2024
de52d16
[Port] [2022.3] [VFX] Remove error popup when cancelling a drag edge …
svc-reach-platform-support Apr 4, 2024
acc9852
[Port] [2022.3] [URP] [2D] ShaderGraph Pass name is not generated whe…
svc-reach-platform-support Apr 4, 2024
6119e1f
[Port] [2022.3] Use half instead of float on mobile for octahedral no…
svc-reach-platform-support Apr 4, 2024
6bba4b3
[Port] [2022.3] Add missing LightCookies keyword to screenspace decal…
pema99 Apr 4, 2024
6ba535d
[Backport][2022.3][VFX] Keep activation slot visible when collapsing …
julienamsellem Apr 5, 2024
0d1525e
[Port] [2022.3] Fix undersized cluster data buffer
svc-reach-platform-support Apr 5, 2024
9aeb329
[22.3] Bump graphics packages
theopnv Apr 5, 2024
c027d05
[content automatically redacted] touching PlatformDependent folder
Adrian1066 Apr 8, 2024
e07adad
[Port] [2022.3] Fix scene dirtiness issue with the HDRP compositor
svc-reach-platform-support Apr 8, 2024
8df9658
[Port] [2022.3] [UUM-31719] Set default orthographic for pixel perfec…
svc-reach-platform-support Apr 8, 2024
cd105f2
[Port] [2022.3] Fix for the preview rendering issue (no default sky a…
svc-reach-platform-support Apr 8, 2024
0bf1648
2022.3/graphics/urp/backport/uum 49324 taa api
eh-unity Apr 9, 2024
7cc1c26
[Port] [2022.3] Add doc for 'Screen Space - Overlay' in Graphics Comp…
YohannVaastUnity Apr 10, 2024
65b778c
[Port] [2022.3] Update reflection probe atlas if probe runtime intens…
svc-reach-platform-support Apr 10, 2024
948d39d
[2022.3] [HDRP] update graphics compositor limitation for VR
sebastienlagarde Apr 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Packages/com.unity.render-pipelines.core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog

All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
Expand All @@ -9,6 +10,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
Version Updated
The version number for this package has increased due to a version update of a related graphics package.

## [14.0.10] - 2024-04-03

This version is compatible with Unity 2022.3.24f1.

### Fixed
- Fixed lens flare occlusion format support test.
- Fixed DebugUI.Button not working in Rendering Debugger runtime UI.

## [14.0.9] - 2023-12-21

This version is compatible with Unity 2022.3.18f1.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ public void DrawHeaders(MaterialEditor materialEditor, Material material)

EditorGUILayout.Space();
}

// Reset label width back to the default of 0 (fix UUM-66215)
// NOTE: Because of how EditorGUIUtility.labelWidth works, when the internal value is 0,
// we cannot read that value back from the property getter. So we just set it to 0 here.
EditorGUIUtility.labelWidth = 0;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef __ACES__
#define __ACES__

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -1513,7 +1513,7 @@ half3 ODT_4000nits_ToAP1(half3 oces)

return rgbPost;
}
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_BSDF_INCLUDED
#define UNITY_BSDF_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -658,7 +658,7 @@ real3 D_KajiyaKay(real3 T, real3 H, real specularExponent)
return dirAttn * norm * PositivePow(sinTHSq, 0.5 * n);
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_COLOR_INCLUDED
#define UNITY_COLOR_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -728,7 +728,7 @@ half3 DecodeRGBM(half4 rgbm)
return rgbm.xyz * rgbm.w * kRGBMRange;
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_COMMON_INCLUDED
#define UNITY_COMMON_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -1618,7 +1618,7 @@ float SharpenAlpha(float alpha, float alphaClipTreshold)
// These clamping function to max of floating point 16 bit are use to prevent INF in code in case of extreme value
TEMPLATE_1_REAL(ClampToFloat16Max, value, return min(value, HALF_MAX))

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_COMMON_LIGHTING_INCLUDED
#define UNITY_COMMON_LIGHTING_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -503,7 +503,7 @@ bool IsMatchingLightLayer(uint lightLayers, uint renderingLayers)
return (lightLayers & renderingLayers) != 0;
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_COMMON_MATERIAL_INCLUDED
#define UNITY_COMMON_MATERIAL_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -363,7 +363,7 @@ real3 LerpWhiteTo(real3 b, real t)
}
#endif

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_ENTITY_LIGHTING_INCLUDED
#define UNITY_ENTITY_LIGHTING_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -281,7 +281,7 @@ real3 SampleDirectionalLightmap(TEXTURE2D_LIGHTMAP_PARAM(lightmapTex, lightmapSa
return bakeDiffuseLighting;
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_IMAGE_BASED_LIGHTING_HLSL_INCLUDED
#define UNITY_IMAGE_BASED_LIGHTING_HLSL_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -706,7 +706,7 @@ float InfluenceFadeNormalWeight(float3 normal, float3 centerToPos)
return saturate((-1.0f / 0.4f) * dot(normal, centerToPos) + (0.6f / 0.4f));
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_PACKING_INCLUDED
#define UNITY_PACKING_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -54,7 +54,7 @@ real3 UnpackNormalOctRectEncode(real2 f)
// Ref: http://jcgt.org/published/0003/02/01/paper.pdf "A Survey of Efficient Representations for Independent Unit Vectors"
// Encode with Oct, this function work with any size of output
// return float between [-1, 1]
float2 PackNormalOctQuadEncode(float3 n)
real2 PackNormalOctQuadEncode(float3 n)
{
//float l1norm = dot(abs(n), 1.0);
//float2 res0 = n.xy * (1.0 / l1norm);
Expand All @@ -64,20 +64,20 @@ float2 PackNormalOctQuadEncode(float3 n)

// Optimized version of above code:
n *= rcp(max(dot(abs(n), 1.0), 1e-6));
float t = saturate(-n.z);
return n.xy + float2(n.x >= 0.0 ? t : -t, n.y >= 0.0 ? t : -t);
real t = saturate(-n.z);
return n.xy + real2(n.x >= 0.0 ? t : -t, n.y >= 0.0 ? t : -t);
}

float3 UnpackNormalOctQuadEncode(float2 f)
real3 UnpackNormalOctQuadEncode(real2 f)
{
float3 n = float3(f.x, f.y, 1.0 - abs(f.x) - abs(f.y));
real3 n = real3(f.x, f.y, 1.0 - abs(f.x) - abs(f.y));

//float2 val = 1.0 - abs(n.yx);
//n.xy = (n.zz < float2(0.0, 0.0) ? (n.xy >= 0.0 ? val : -val) : n.xy);

// Optimized version of above code:
float t = max(-n.z, 0.0);
n.xy += float2(n.x >= 0.0 ? -t : t, n.y >= 0.0 ? -t : t);
real t = max(-n.z, 0.0);
n.xy += real2(n.x >= 0.0 ? -t : t, n.y >= 0.0 ? -t : t);

return normalize(n);
}
Expand Down Expand Up @@ -599,7 +599,7 @@ float2 Unpack8ToFloat2(float f)
return float2(x, y);
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_FIBONACCI_INCLUDED
#define UNITY_FIBONACCI_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -299,7 +299,7 @@ real2 SampleSphereFibonacci(uint i, uint sampleCount)
return real2(1 - 2 * f.x, TWO_PI * f.y);
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_HAMMERSLEY_INCLUDED
#define UNITY_HAMMERSLEY_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -437,7 +437,7 @@ real2 Hammersley2d(uint i, uint sampleCount)
}
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_SAMPLING_INCLUDED
#define UNITY_SAMPLING_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -322,7 +322,7 @@ real3 SampleConeStrata(uint sampleIdx, real rcpSampleCount, real cosHalfApexAngl
return real3(r * cphi, r * sphi, z);
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_SPACE_TRANSFORMS_INCLUDED
#define UNITY_SPACE_TRANSFORMS_INCLUDED

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (disable : 3205) // conversion of larger type to smaller
#endif

Expand Down Expand Up @@ -340,7 +340,7 @@ real3 TransformObjectToTangent(real3 dirOS, real3x3 tangentToWorld)
return TransformWorldToTangent(normalWS, tangentToWorld);
}

#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3
#if SHADER_API_MOBILE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_SWITCH
#pragma warning (enable : 3205) // conversion of larger type to smaller
#endif

Expand Down
2 changes: 1 addition & 1 deletion Packages/com.unity.render-pipelines.core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.unity.render-pipelines.core",
"description": "SRP Core makes it easier to create or customize a Scriptable Render Pipeline (SRP). SRP Core contains reusable code, including boilerplate code for working with platform-specific graphics APIs, utility functions for common rendering operations, and shader libraries. The code in SRP Core is use by the High Definition Render Pipeline (HDRP) and Universal Render Pipeline (URP). If you are creating a custom SRP from scratch or customizing a prebuilt SRP, using SRP Core will save you time.",
"version": "14.0.10",
"version": "14.0.11",
"unity": "2022.3",
"displayName": "Core RP Library",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog

All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
Expand All @@ -9,6 +10,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
Version Updated
The version number for this package has increased due to a version update of a related graphics package.

## [14.0.10] - 2024-04-03

This version is compatible with Unity 2022.3.24f1.

Version Updated
The version number for this package has increased due to a version update of a related graphics package.

## [14.0.9] - 2023-12-21

This version is compatible with Unity 2022.3.18f1.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "com.unity.render-pipelines.high-definition-config",
"description": "Configuration files for the High Definition Render Pipeline.",
"version": "14.0.10",
"version": "14.0.11",
"unity": "2022.3",
"displayName": "High Definition RP Config",
"dependencies": {
"com.unity.render-pipelines.core": "14.0.10"
"com.unity.render-pipelines.core": "14.0.11"
}
}
24 changes: 24 additions & 0 deletions Packages/com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog

All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
Expand All @@ -9,6 +10,29 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
Version Updated
The version number for this package has increased due to a version update of a related graphics package.

## [14.0.10] - 2024-04-03

This version is compatible with Unity 2022.3.24f1.

### Changed
- Improved performance entering and leaving playmode for scenes containing large numbers of decal projectors.
- Improved scene culling performance when APV is enabled in the project.

### Fixed
- Removed screen space overlay UI being rendered in offscreen camera.
- Fixed XR texture 2D creation failure due to invalid slice configuration. The slice is misconfigured to 2 when creating Texture2D, causing internal failures.
- Optimize the OnDisable of DecalProjector component when disabling a lot of decals at the same time.
- Removed the error message "Decal texture atlas out of space..." in release builds (it now only appears in the Editor or Development Builds).
- Fixed artifacts on low resolution SSGI when dynamic resolution values are low.
- Fixed internally created Game Objects being deallocated on scene changes.
- Fixed misuse of ternary operators in shaders.
- Fixed a NaN issue in volumetric fog reprojection causing black to propagate in the fog.
- Fixed invalid AABB error in the console when using the APV with reflection probes.
- Fixed a scaling issue with the recorder.
- Restore `EditorGUIUtility.labelWidth` to default after drawing Material GUI.
- Fix specular blend in premultiplied alpha
- Fixed screen node not returning correct resolution after post-processing when dynamic resolution is enabled.

## [14.0.9] - 2023-12-21

This version is compatible with Unity 2022.3.18f1.
Expand Down
Loading
Loading