Firstborn/Library/PackageCache/com.unity.render-pipelines..../Shaders/XR/XRMirrorView.shader

42 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-03-28 13:24:16 -04:00
Shader "Hidden/Universal Render Pipeline/XR/XRMirrorView"
{
SubShader
{
Tags{ "RenderPipeline" = "UniversalPipeline" }
HLSLINCLUDE
#pragma exclude_renderers gles
ENDHLSL
// 0: TEXTURE2D
Pass
{
ZWrite Off ZTest Always Blend Off Cull Off
HLSLPROGRAM
#pragma vertex VertQuad
#pragma fragment FragBilinear
#define SRC_TEXTURE2D_X_ARRAY 0
#include "Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl"
ENDHLSL
}
// 1: TEXTURE2D_ARRAY
Pass
{
ZWrite Off ZTest Always Blend Off Cull Off
HLSLPROGRAM
#pragma vertex VertQuad
#pragma fragment FragBilinear
#define SRC_TEXTURE2D_X_ARRAY 1
#include "Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl"
ENDHLSL
}
}
Fallback Off
}