Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit d7ea7b7

Browse files
committed
Fixed shader compilation errors on Switch
1 parent 13005f7 commit d7ea7b7

4 files changed

Lines changed: 11 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this package will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [2.1.4] - 2019-xx-xx
8+
9+
### Fixed
10+
- Shader compilation errors with OpenGL ES2 and Switch.
11+
712
## [2.1.3] - 2019-01-30
813

914
### Fixed

PostProcessing/Shaders/Builtins/FinalPass.shader

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Shader "Hidden/PostProcessing/FinalPass"
9999
Pass
100100
{
101101
HLSLPROGRAM
102-
#pragma exclude_renderers gles vulkan
102+
#pragma exclude_renderers gles vulkan switch
103103

104104
#pragma multi_compile __ STEREO_INSTANCING_ENABLED STEREO_DOUBLEWIDE_TARGET
105105
#pragma target 5.0
@@ -115,7 +115,7 @@ Shader "Hidden/PostProcessing/FinalPass"
115115
Pass
116116
{
117117
HLSLPROGRAM
118-
#pragma exclude_renderers gles vulkan
118+
#pragma exclude_renderers gles vulkan switch
119119

120120
#pragma multi_compile __ STEREO_INSTANCING_ENABLED STEREO_DOUBLEWIDE_TARGET
121121
#pragma target 3.0
@@ -147,7 +147,7 @@ Shader "Hidden/PostProcessing/FinalPass"
147147
Pass
148148
{
149149
HLSLPROGRAM
150-
#pragma only_renderers gles vulkan
150+
#pragma only_renderers gles vulkan switch
151151

152152
#pragma multi_compile __ STEREO_DOUBLEWIDE_TARGET //not supporting STEREO_INSTANCING_ENABLED
153153
ENDHLSL

PostProcessing/Shaders/Builtins/Uber.shader

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Shader "Hidden/PostProcessing/Uber"
275275
Pass
276276
{
277277
HLSLPROGRAM
278-
#pragma exclude_renderers gles vulkan
278+
#pragma exclude_renderers gles vulkan switch
279279

280280
#pragma multi_compile __ COLOR_GRADING_LDR_2D COLOR_GRADING_HDR_2D COLOR_GRADING_HDR_3D
281281
#pragma multi_compile __ STEREO_INSTANCING_ENABLED STEREO_DOUBLEWIDE_TARGET
@@ -290,7 +290,7 @@ Shader "Hidden/PostProcessing/Uber"
290290
Pass
291291
{
292292
HLSLPROGRAM
293-
#pragma only_renderers vulkan
293+
#pragma only_renderers vulkan switch
294294

295295
#pragma multi_compile __ COLOR_GRADING_LDR_2D COLOR_GRADING_HDR_2D COLOR_GRADING_HDR_3D
296296
#pragma multi_compile __ STEREO_DOUBLEWIDE_TARGET // disabled for Vulkan because of shader compiler issues in older Unity versions: STEREO_INSTANCING_ENABLED

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.unity.postprocessing",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"displayName": "Post Processing",
55
"unity": "2018.1",
66
"description": "The post-processing stack (v2) comes with a collection of effects and image filters you can apply to your cameras to improve the visuals of your games.",

0 commit comments

Comments
 (0)