File tree Expand file tree Collapse file tree 3 files changed +0
-18
lines changed
Packages/com.unity.render-pipelines.core/Runtime/Lighting/ProbeVolume Expand file tree Collapse file tree 3 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,7 @@ struct APVResources
7777
7878struct APVResourcesRW
7979{
80- #ifdef SHADER_API_METAL
81- // We need to use float4 on Metal, since HLSLcc will generate invalid MSL otherwise.
82- // See https://jira.unity3d.com/browse/UUM-127198
83- RWTexture3D <float4 > L0_L1Rx;
84- #else
8580 RWTexture3D <half4 > L0_L1Rx;
86- #endif
8781 RWTexture3D <unorm float4 > L1G_L1Ry;
8882 RWTexture3D <unorm float4 > L1B_L1Rz;
8983 RWTexture3D <unorm float4 > L2_0;
Original file line number Diff line number Diff line change @@ -15,13 +15,7 @@ Texture3D<float4> _State1_L0_L1Rx;
1515Texture3D<float4> _State1_L1G_L1Ry;
1616Texture3D<float4> _State1_L1B_L1Rz;
1717
18- #ifdef SHADER_API_METAL
19- // We need to use float4 on Metal, since HLSLcc will generate invalid MSL otherwise.
20- // See https://jira.unity3d.com/browse/UUM-127198
21- RWTexture3D<float4> _Out_L0_L1Rx;
22- #else
2318RWTexture3D<half4> _Out_L0_L1Rx;
24- #endif
2519RWTexture3D<unorm float4> _Out_L1G_L1Ry;
2620RWTexture3D<unorm float4> _Out_L1B_L1Rz;
2721
Original file line number Diff line number Diff line change 99#pragma multi_compile_local _ PROBE_VOLUMES_SKY_SHADING_DIRECTION
1010#pragma multi_compile_local _ PROBE_VOLUMES_PROBE_OCCLUSION
1111
12- #ifdef SHADER_API_METAL
13- // We need to use float4 on Metal, since HLSLcc will generate invalid MSL otherwise.
14- // See https://jira.unity3d.com/browse/UUM-127198
15- RWTexture3D<float4> _Out_L0_L1Rx;
16- #else
1712RWTexture3D<half4> _Out_L0_L1Rx;
18- #endif
1913RWTexture3D<unorm float4> _Out_L1G_L1Ry;
2014RWTexture3D<unorm float4> _Out_L1B_L1Rz;
2115
You can’t perform that action at this time.
0 commit comments