浏览代码

Fix shader compilation.

/main
Yao Xiaoling 6 年前
当前提交
fb17a537
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      com.unity.render-pipelines.core/CoreRP/ShaderLibrary/UnityInstancing.hlsl

1
com.unity.render-pipelines.core/CoreRP/ShaderLibrary/UnityInstancing.hlsl


#define UNITY_MATRIX_M UNITY_ACCESS_INSTANCED_PROP(unity_Builtins0, unity_ObjectToWorldArray)
#define UNITY_MATRIX_I_M UNITY_ACCESS_INSTANCED_PROP(MERGE_UNITY_BUILTINS_INDEX(UNITY_WORLDTOOBJECTARRAY_CB), unity_WorldToObjectArray)
#endif
#undef MERGE_UNITY_BUILTINS_INDEX
#endif
#else // UNITY_INSTANCING_ENABLED

正在加载...
取消
保存