Search Issue Tracker

Active

Votes

0

Found in

2022.3.51f1

Issue ID

UUM-84784

Regression

Yes

"Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project

--

-

*Steps to reproduce:*
1. Create a new project with Cinematic Studio Sample or High Definition 3D Sample templates
2. Build And Run
3. Observe the Console

*Actual results:* "Shader warning in 'Hidden/HDRP/DownsampleDepth': implicit truncation of vector type at Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/DownsampleDepth.shader(81) (on metal)" warnings are thrown
*Expected results:* No errors or warnings are thrown

*Reproducible with versions:* 2022.3.491, 2022.3.53f1
*Not reproducible with versions:* 2021.3.45f1, 2022.3.48f1, 6000.0.23f1{*}{{*}}

*Tested on (OS):* macOS Sonoma 14.5 (Intel)

*Note:*
Full warning:
{code:java}
Shader warning in 'Hidden/HDRP/DownsampleDepth': implicit truncation of vector type at Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/DownsampleDepth.shader(81) (on metal)
Compiling Subshader: 0, Pass: <Unnamed Pass 0>, Vertex program with <no keywords>
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_NEEDS_RENDERPASS_FBFETCH_FALLBACK UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_VIRTUAL_TEXTURING
{code}
 

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.