From fbbea6c8e728ee5d945aa47bb140c1e98ef208e2 Mon Sep 17 00:00:00 2001 From: "Matias N. Goldberg" Date: Tue, 30 Jan 2024 15:17:52 -0300 Subject: [PATCH] [D3D11] Fix Unlit rendering bugs when using InstancedStereo --- .../Media/Hlms/Common/HLSL/CrossPlatformSettings_piece_all.hlsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Samples/Media/Hlms/Common/HLSL/CrossPlatformSettings_piece_all.hlsl b/Samples/Media/Hlms/Common/HLSL/CrossPlatformSettings_piece_all.hlsl index b0f14fa7638..ac2c4d87e07 100644 --- a/Samples/Media/Hlms/Common/HLSL/CrossPlatformSettings_piece_all.hlsl +++ b/Samples/Media/Hlms/Common/HLSL/CrossPlatformSettings_piece_all.hlsl @@ -47,7 +47,7 @@ #define inVs_stereoDrawId input.drawId @end -#define finalDrawId input.drawId +#define finalDrawId inVs_drawId @foreach( hlms_uv_count, n ) #define inVs_uv@n input.uv@n@end