Skip to content

Commit e0c8262

Browse files
PaulDemeulenaerejulienf-unity
authored andcommitted
[VFX] Fix crash on NDA platform : 100_Fog (#1265)
* Disable noperspective flag for driver issue on NDA platform * Add minor note to track the actual issue * Isolate on concerned platform * Change define condition
1 parent 021e108 commit e0c8262

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

com.unity.visualeffectgraph/Shaders/ParticleLinesSW/PassForward.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ Pass
1111
{
1212
float4 pos : SV_POSITION;
1313
#if IS_TRANSPARENT_PARTICLE
14+
#ifdef SHADER_API_PSSL
15+
/*noperspective (see case 1237742)*/ float pixelOffset : TEXCOORD0; // for AA
16+
#else
1417
noperspective float pixelOffset : TEXCOORD0; // for AA
18+
#endif
1519
#endif
1620
#if VFX_NEEDS_COLOR_INTERPOLATOR
1721
VFX_OPTIONAL_INTERPOLATION float4 color : COLOR0;

0 commit comments

Comments
 (0)