浏览代码

Remove the redundant test

The HTile test will catch this.
/namespace
GitHub 7 年前
当前提交
30f50123
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 4
      ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Resources/SubsurfaceScattering.compute

4
ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Resources/SubsurfaceScattering.compute


int2 cacheAnchor = (int2)groupAnchor - TEXTURE_CACHE_BORDER;
uint2 cacheCoord = localCoord + TEXTURE_CACHE_BORDER;
float stencilRef = STENCILLIGHTINGUSAGE_SPLIT_LIGHTING;
bool isOffScreen = groupAnchor.x >= (uint)_ScreenSize.x ||
groupAnchor.y >= (uint)_ScreenSize.y;
[branch] if (isOffScreen) { return; }
[branch] if (groupThreadId == 0)
{

正在加载...
取消
保存