Search Issue Tracker

Fixed in 2020.2

Fixed in 2020.1

Votes

0

Found in

Issue ID

1235706

Regression

No

[Caching Shader PP] Virtual texturing macros don't work with new PP

Shaders

-

Input:
#define UNITY_DECLARE_TEX2D(tex) Texture2D tex; SamplerState sampler##tex
#define DECLARE_STACK_BASE(stackName) UNITY_DECLARE_TEX2D(stackName##_transtab);
DECLARE_STACK_BASE(VT)

Expected:
Texture2D VT_transtab; SamplerState samplerVT_transtab;
Actual:
Texture2D VT _transtab ; SamplerState samplerVT_transtab ;
(note the space between VT and _transtab)

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.