Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
04ce5f9
GameCore support for Core pipelines
Adrian1066 Jan 21, 2021
2c2c217
GameCore support for PostProcessing
Adrian1066 Jan 21, 2021
47a1e83
GameCore support for HDRP
Adrian1066 Jan 21, 2021
064fa6e
Instancing and stencil fix
Adrian1066 Jan 26, 2021
118273c
Disable scalar optimization
Adrian1066 Jan 26, 2021
79f9022
Fixed typo
Adrian1066 Jan 26, 2021
fcb489a
Added XboxSeries pragmas to ShaderGraph
Adrian1066 Jan 26, 2021
3c3c869
xboxseries pragma applied to shaders
Adrian1066 Jan 26, 2021
4766dfc
xboxseries pragma applied to test shaders
Adrian1066 Jan 26, 2021
5c454b0
Added missing XboxOneD3D12 device type
Adrian1066 Jan 27, 2021
9738651
Updated documentation
Adrian1066 Jan 28, 2021
5d243cf
PostProcess fix for earlier Unity builds
Adrian1066 Jan 28, 2021
1f27935
Shader functions must have return values
Adrian1066 Jan 28, 2021
f5f3899
Build target test case fixes
Adrian1066 Jan 28, 2021
9a47fb9
Workaround for noperspective on transparent vfx particles
Adrian1066 Jan 28, 2021
7f3c117
Revert "Updated documentation"
Adrian1066 Jan 28, 2021
bdbf063
Updated documentation
Adrian1066 Jan 28, 2021
a7cd024
Merge branch 'master' into platform/gamecore
Adrian1066 Jan 28, 2021
98d6cbe
Removed unnecessary xr texture array support
Adrian1066 Feb 1, 2021
1196062
Added xboxseries tags into example shaders in documentation
Adrian1066 Feb 1, 2021
e356310
Move intrinsic support to platform header
Adrian1066 Feb 1, 2021
c1615c6
Reverted preprocessor guard around fragment shader
Adrian1066 Feb 1, 2021
6ba070f
Fixed typo in expected settings
Adrian1066 Feb 2, 2021
fe53127
Rename for XboxSeries
Adrian1066 Feb 5, 2021
572e2fc
Rename for Xbox Series
Adrian1066 Feb 17, 2021
220c522
Update CHANGELOG.md
sebastienlagarde Feb 17, 2021
45ba579
Merge branch 'master' into platform/gamecore
Adrian1066 Feb 17, 2021
18fedc9
Merge branch 'master' into platform/gamecore
sebastienlagarde Feb 17, 2021
e94d7bc
Formatting
sebastienlagarde Feb 17, 2021
f225071
Fixed type in RenderDBuffer
Adrian1066 Feb 18, 2021
6b96693
Merge branch 'master' into platform/gamecore
sebastienlagarde Feb 19, 2021
9ba07b7
Add various missing xboxseries
sebastienlagarde Feb 19, 2021
34b12f4
Merge branch 'master' into platform/gamecore
Adrian1066 Feb 21, 2021
4aeade3
Merge branch 'master' into platform/gamecore
sebastienlagarde Feb 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Shader "Hidden/Outline"
#pragma vertex Vert

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassCommon.hlsl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Shader "Custom/StencilShowShader"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

//-------------------------------------------------------------------------------------
// Variant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Shader "Custom/StencilWriteShader"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

//-------------------------------------------------------------------------------------
// Variant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Shader "Hidden/Shader/DepthTAA"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#pragma vertex Vert

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassCommon.hlsl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#pragma vertex Vert

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassCommon.hlsl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

// #pragma enable_d3d11_debug_symbols

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Shader "FullScreen/FullscreenTemplate"
#pragma vertex Vert

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassCommon.hlsl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Shader "Renderers/RenderersTemplate"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

// #pragma enable_d3d11_debug_symbols

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Shader "Hidden/HDRP/Sky/ProceduralSky"

#pragma editor_sync_compilation
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#pragma multi_compile _ _ENABLE_SUN_DISK

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Shader "FullScreen/009_MultiCamera_MotionVector"
#pragma vertex Vert

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassCommon.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Material/Builtin/BuiltinData.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Shader "Hidden/HDRP/Sky/ProceduralSky"

#pragma editor_sync_compilation
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#pragma multi_compile _ _ENABLE_SUN_DISK

Expand Down
1 change: 1 addition & 0 deletions Tools/check-shader-includes-exclusions.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
com.unity.render-pipelines.xboxone/ShaderLibrary/API/XBoxOne.hlsl
com.unity.render-pipelines.gamecore/ShaderLibrary/API/GameCore.hlsl
com.unity.render-pipelines.ps4/ShaderLibrary/API/PSSL.hlsl
com.unity.render-pipelines.ps5/ShaderLibrary/API/PSSL.hlsl
1 change: 1 addition & 0 deletions com.unity.postprocessing/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added
- Support for the PlayStation 5 platform has been added.
- Support for the XboxSeries platform has been added.

## [3.0.3] - 2021-02-19

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public static bool isTargetingConsoles
|| t == BuildTarget.PS5
#endif
|| t == BuildTarget.XboxOne
#if UNITY_GAMECORE
|| t == BuildTarget.GameCoreXboxSeries
|| t == BuiltTarget.GameCoreXboxone
#endif
|| t == BuildTarget.Switch;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,13 @@ public static bool IsResolvedDepthAvailable(Camera camera)
// TODO: Is there more proper way to determine this? What about SRPs?
var gtype = SystemInfo.graphicsDeviceType;
return camera.actualRenderingPath == RenderingPath.DeferredShading &&
(gtype == GraphicsDeviceType.Direct3D11 || gtype == GraphicsDeviceType.Direct3D12 || gtype == GraphicsDeviceType.XboxOne);
(gtype == GraphicsDeviceType.Direct3D11
|| gtype == GraphicsDeviceType.Direct3D12
|| gtype == GraphicsDeviceType.GameCoreXboxSeries
|| gtype == GraphicsDeviceType.GameCoreXboxOne
|| gtype == GraphicsDeviceType.XboxOne
|| gtype == GraphicsDeviceType.XboxOneD3D12
);
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#if defined(SHADER_API_PSSL)
#include "API/PSSL.hlsl"
#elif defined(SHADER_API_XBOXONE)
#elif defined(SHADER_API_XBOXONE) || defined (SHADER_API_GAMECORE)
#include "API/XboxOne.hlsl"
#elif defined(SHADER_API_D3D11)
#include "API/D3D11.hlsl"
Expand Down
1 change: 1 addition & 0 deletions com.unity.render-pipelines.core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added
- Support for the PlayStation 5 platform has been added.
- Support for the XboxSeries platform has been added.
- New method DrawHeaders for VolumeComponentsEditors
- Unification of Material Editor Headers Scopes
- New API functions with no side effects in DynamicResolutionHandler, to retrieve resolved drs scale and to apply DRS on a size.
Expand Down
6 changes: 4 additions & 2 deletions com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@
#endif

// Include language header
#if defined(SHADER_API_XBOXONE)
#if defined (SHADER_API_GAMECORE)
#include "Packages/com.unity.render-pipelines.gamecore/ShaderLibrary/API/GameCore.hlsl"
#elif defined(SHADER_API_XBOXONE)
#include "Packages/com.unity.render-pipelines.xboxone/ShaderLibrary/API/XBoxOne.hlsl"
#elif defined(SHADER_API_PS4)
#include "Packages/com.unity.render-pipelines.ps4/ShaderLibrary/API/PSSL.hlsl"
Expand Down Expand Up @@ -1326,7 +1328,7 @@ void LODDitheringTransition(uint2 fadeMaskSeed, float ditherFactor)
// while on other APIs is in the red channel. Note that on some platform, always using the green channel might work, but is not guaranteed.
uint GetStencilValue(uint2 stencilBufferVal)
{
#if defined(SHADER_API_D3D11) || defined(SHADER_API_XBOXONE)
#if defined(SHADER_API_D3D11) || defined(SHADER_API_XBOXONE) || defined(SHADER_API_GAMECORE)
return stencilBufferVal.y;
#else
return stencilBufferVal.x;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef UNITY_INSTANCING_INCLUDED
#define UNITY_INSTANCING_INCLUDED

#if SHADER_TARGET >= 35 && (defined(SHADER_API_D3D11) || defined(SHADER_API_GLES3) || defined(SHADER_API_GLCORE) || defined(SHADER_API_XBOXONE) || defined(SHADER_API_PSSL) || defined(SHADER_API_VULKAN) || defined(SHADER_API_METAL))
#if SHADER_TARGET >= 35 && (defined(SHADER_API_D3D11) || defined(SHADER_API_GLES3) || defined(SHADER_API_GLCORE) || defined(SHADER_API_XBOXONE) || defined(SHADER_API_GAMECORE) || defined(SHADER_API_PSSL) || defined(SHADER_API_VULKAN) || defined(SHADER_API_METAL))
#define UNITY_SUPPORT_INSTANCING
#endif

Expand Down
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [12.0.0] - 2021-01-11

### Added
- Added support for XboxSeries platform.
- Added pivot point manipulation for Decals (inspector and edit mode).
- Added UV manipulation for Decals (edit mode).
- Added color and intensity customization for Decals.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Building your Project for consoles

To build a Project for the **PlayStation 4**, **PlayStation 5** or **Xbox One**, you need to install an additional package for each platform you want to support. The packages for each platform are:
To build a Project for the **PlayStation 4**, **PlayStation 5**, **Game Core Xbox Series**, **Game Core Xbox One** or **Xbox One**, you need to install an additional package for each platform you want to support. The packages for each platform are:

- **PlayStation 4**: com.unity.render-pipelines.ps4
- **PlayStation 5**: com.unity.render-pipelines.ps5
- **Xbox One**: com.unity.render-pipelines.xboxone
- **Game Core Xbox Series**: com.unity.render-pipelines.gamecore
- **Game Core Xbox One**: com.unity.render-pipelines.gamecore

## Platform package installation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Shader "Hidden/HDRP/Sky/NewCloud"

#pragma editor_sync_compilation
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonLighting.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Shader "Hidden/HDRP/Sky/NewSky"

#pragma editor_sync_compilation
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonLighting.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ Shader "Hidden/Outline"
#pragma vertex Vert

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassCommon.hlsl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Shader "Hidden/Shader/GrayScale"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Shader "Hidden/HDRP/DrawDiffusionProfile"
HLSLPROGRAM
#pragma editor_sync_compilation
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#pragma vertex Vert
#pragma fragment Frag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Shader "Hidden/HDRP/DrawTransmittanceGraph"
HLSLPROGRAM
#pragma editor_sync_compilation
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#pragma vertex Vert
#pragma fragment Frag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Shader "Hidden/Shader/#SCRIPTNAME#"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Shader "FullScreen/#SCRIPTNAME#"
#pragma vertex Vert

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassCommon.hlsl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Shader "Renderers/#SCRIPTNAME#"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

// #pragma enable_d3d11_debug_symbols

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Shader "Hidden/GUITextureBlit2SRGB" {
HLSLPROGRAM
#pragma editor_sync_compilation
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#pragma vertex vert
#pragma fragment frag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Shader "Hidden/Shader/AlphaInjection"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Shader "Hidden/Shader/ChromaKeying"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Shader "Hidden/HDRP/CustomClear"
HLSLINCLUDE

#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/BC6H.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Sampling/Sampling.hlsl"

#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

TextureCube<float4> _Source;
RWTexture2DArray<uint4> _Target;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/TextureXR.hlsl"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Shader "Hidden/HDRP/DebugBlitQuad"

HLSLPROGRAM
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#pragma vertex Vert
#pragma fragment Frag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Shader "Hidden/HDRP/DebugColorPicker"

HLSLPROGRAM
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone vulkan metal switch
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch

#pragma vertex Vert
#pragma fragment Frag
Expand Down
Loading