From 7ef027e6c80d3dac4e1fdd1d1f7bbf68305075f4 Mon Sep 17 00:00:00 2001 From: Unity Technologies <@unity> Date: Thu, 9 Jul 2020 00:00:00 +0000 Subject: [PATCH] com.unity.render-pipelines.core@9.0.0-preview.77 ## [9.0.0] - 2020-07-09 ### Added - Add rough version of ContextualMenuDispatcher to solve conflict amongst SRP. - Add api documentation for TextureCombiner. - Add tooltips in LookDev's toolbar. ### Fixed - Fixed compile errors for platforms with no VR support - Replaced reference to Lightweight Render Pipeline by Universal Render Pipeline in the package description - Fixed LighProbes when using LookDev. - Fix LookDev minimal window size. - Fix object rotation at instentiation to keep the one in prefab or used in hierarchy. - Fixed shader compile errors when trying to use tessellation shaders with PlayStation VR on PS4. - Fixed shader compile errors about LODDitheringTransition not being supported in GLES2. - Fix `WaveIsFirstLane()` to ignore helper lanes in fragment shaders on PS4. - Fixed a bug where Unity would crash if you tried to remove a Camera component from a GameObject using the Inspector window, while other components dependended on the Camera component. - Fixed errors due to the debug menu when enabling the new input system. - Fix LookDev FPS manipulation in view - Fix LookDev zoom being stuck when going near camera pivot position - Fix LookDev manipulation in view non responsive if directly using an HDRI - Fix LookDev behaviour when user delete the EnvironmentLibrary asset - Fix LookDev SunPosition button position - Fix LookDev EnvironmentLibrary tab when asset is deleted - Fix LookDev used Cubemap when asset is deleted - Fixed the definition of `rcp()` for GLES2. - Fixed copy/pasting of Volume Components when loading a new scene - Fix LookDev issue when adding a GameObject containing a Volume into the LookDev's view. - Fixed duplicated entry for com.unity.modules.xr in the runtime asmdef file - Fixed the texture curve being destroyed from another thread than main (case 1211754) - Fixed unreachable code in TextureXR.useTexArray - Fixed GC pressure caused by `VolumeParameter.GetHashCode()` - Fixed issue when LookDev window is opened and the CoreRP Package is updated to a newer version. - Fix LookDev's camera button layout. - Fix LookDev's layout vanishing on domain reload. - Fixed issue with the shader TransformWorldToHClipDir function computing the wrong result. - Fixed division by zero in `V_SmithJointGGX` function. - Fixed null reference exception in LookDev when setting the SRP to one not implementing LookDev (case 1245086) - Fix LookDev's undo/redo on EnvironmentLibrary (case 1234725) ### Changed - Restored usage of ENABLE_VR to fix compilation errors on some platforms. - Only call SetDirty on an object when actually modifying it in SRP updater utility - Set depthSlice to -1 by default on SetRenderTarget() to clear all slices of Texture2DArray by default. - ResourceReloader will now add additional InvalidImport check while it cannot load due to AssetDatabase not available. - Replaced calls to deprecated PlayerSettings.virtualRealitySupported property. - Enable RWTexture2D, RWTexture2DArray, RWTexture3D in gles 3.1 - Updated macros to be compatible with the new shader preprocessor. - Updated shaders to be compatible with Microsoft's DXC. - Changed CommandBufferPool.Get() to create an unnamed CommandBuffer. (No profiling markers) --- .../{GraniteShaderLibBase.h => GraniteShaderLibBase.hlsl} | 6 +++--- ...eShaderLibBase.h.meta => GraniteShaderLibBase.hlsl.meta} | 0 ShaderLibrary/VirtualTexturing.hlsl | 2 +- package.json | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) rename ShaderLibrary/{GraniteShaderLibBase.h => GraniteShaderLibBase.hlsl} (96%) rename ShaderLibrary/{GraniteShaderLibBase.h.meta => GraniteShaderLibBase.hlsl.meta} (100%) diff --git a/ShaderLibrary/GraniteShaderLibBase.h b/ShaderLibrary/GraniteShaderLibBase.hlsl similarity index 96% rename from ShaderLibrary/GraniteShaderLibBase.h rename to ShaderLibrary/GraniteShaderLibBase.hlsl index 738b630..64a9f6d 100644 --- a/ShaderLibrary/GraniteShaderLibBase.h +++ b/ShaderLibrary/GraniteShaderLibBase.hlsl @@ -665,11 +665,11 @@ struct GraniteLODLookupData #if (GRA_GLSL_120==1) // Extension needed for texture2DLod - #extension GL_ARB_shader_texture_lod : enable + //extension GL_ARB_shader_texture_lod : enable // Extensions needed fot texture2DGrad - #extension GL_EXT_gpu_shader4 : enable + //extension GL_EXT_gpu_shader4 : enable // Extensions needed for bit manipulation - #extension GL_ARB_shader_bit_encoding : enable + //extension GL_ARB_shader_bit_encoding : enable #endif diff --git a/ShaderLibrary/GraniteShaderLibBase.h.meta b/ShaderLibrary/GraniteShaderLibBase.hlsl.meta similarity index 100% rename from ShaderLibrary/GraniteShaderLibBase.h.meta rename to ShaderLibrary/GraniteShaderLibBase.hlsl.meta diff --git a/ShaderLibrary/VirtualTexturing.hlsl b/ShaderLibrary/VirtualTexturing.hlsl index efd148c..4bfa898 100644 --- a/ShaderLibrary/VirtualTexturing.hlsl +++ b/ShaderLibrary/VirtualTexturing.hlsl @@ -1,4 +1,4 @@ -#include "GraniteShaderLibBase.h" +#include "GraniteShaderLibBase.hlsl" #define VtAddressMode_Wrap 0 #define VtAddressMode_Clamp 1 diff --git a/package.json b/package.json index eb5b5b0..776cbc1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.unity.render-pipelines.core", "description": "SRP Core makes it easier to create or customize a Scriptable Render Pipeline (SRP). SRP Core contains reusable code, including boilerplate code for working with platform-specific graphics APIs, utility functions for common rendering operations, and shader libraries. The code in SRP Core is use by the High Definition Render Pipeline (HDRP) and Universal Render Pipeline (URP). If you are creating a custom SRP from scratch or customizing a prebuilt SRP, using SRP Core will save you time.", - "version": "9.0.0-preview.60", + "version": "9.0.0-preview.77", "unity": "2020.1", "unityRelease": "0b13", "displayName": "Core RP Library", @@ -9,11 +9,11 @@ "com.unity.ugui": "1.0.0" }, "upmCi": { - "footprint": "e95f36a29aeac75d1f15aef2244ec6d883b7a94b" + "footprint": "7b6fe79ef842dcbb392ef7a599e791f4b83eec91" }, "repository": { "url": "https://github.com/Unity-Technologies/Graphics.git", "type": "git", - "revision": "30727520cc865410e149433fbd815e8f9d18f413" + "revision": "a7ef68bdc77af9f0491778e504906d82f7ed1fed" } }