Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.17f1
2020.1
2020.2
2021.1
Issue ID
1303658
Regression
No
[SRP] "unrecognized identifier 'Texture2DMS_float'" Shader error is thrown when having Texture2DMS_float attribute in a Shader
How to reproduce:
1. Open the user's attached "TestHighpTexture2DMS.zip" project
2. Change the "Texture2DMSArray" to "Texture2DMS_float" in CopyDepthPass.hlsl
3. Select the CopyDepth Shader
4. Observe the Inspector window
Expected result: No error messages in the Inspector window
Actual result: "Shader error in 'Hidden/Universal Render Pipeline/CopyDepth': unrecognized identifier 'Texture2DMS_float'" message is shown in the Inspector window
Reproducible with: 2019.4.17f1 (7.5.2), 2020.1.17f1 (8.3.1), 2020.2.1f1 (10.2.2), 2021.1.0b1 (11.0.0)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
SRP uses different macros
#define TEXTURE2D_X_MSAA(type, textureName) Texture2DMS<type, 1> textureName