浏览代码

HDRenderPipeline: Remove shadow warning about "loop 1 iteration"

/main
sebastienlagarde 7 年前
当前提交
209e9f74
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/Shadow/Shadow.hlsl

4
ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/Shadow/Shadow.hlsl


#define SHADOW_OPTIMIZE_REGISTER_USAGE 0
#endif
#if SHADOW_OPTIMIZE_REGISTER_USAGE == 1
# pragma warning(disable : 3557) // loop only executes for 1 iteration(s)
#endif
#include "CoreRP/Shadow/ShadowBase.cs.hlsl" // ShadowData definition, auto generated (don't modify)
#include "ShadowTexFetch.hlsl" // Resource sampling definitions (don't modify)

正在加载...
取消
保存