first pass on getting rid of shader compile errors on PS4. Still don't have a solution for the missing #pragma features.
#ifndef __SHADERBASE_H__
#define __SHADERBASE_H__
#ifdef SHADER_API_PSSL
#ifndef Texture2DMS
#define Texture2DMS MS_Texture2D
#endif
#ifndef SampleCmpLevelZero
#define SampleCmpLevelZero SampleCmpLOD0
#ifndef firstbithigh
#define firstbithigh FirstSetBit_Hi_MSB
#define __HLSL 1
#define public