浏览代码

first pass on getting rid of shader compile errors on PS4

first pass on getting rid of shader compile errors on PS4.
Still don't have a solution for the missing #pragma features.
/main
mmikk 8 年前
当前提交
d68f5478
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16
      Assets/ScriptableRenderLoop/common/ShaderBase.h

16
Assets/ScriptableRenderLoop/common/ShaderBase.h


#ifndef __SHADERBASE_H__
#define __SHADERBASE_H__
#ifdef SHADER_API_PSSL
#ifndef Texture2DMS
#define Texture2DMS MS_Texture2D
#endif
#ifndef SampleCmpLevelZero
#define SampleCmpLevelZero SampleCmpLOD0
#endif
#ifndef firstbithigh
#define firstbithigh FirstSetBit_Hi_MSB
#endif
#endif
#define __HLSL 1
#define public

正在加载...
取消
保存