Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [4137.188] Worker 13 : Error: Compilation errors in renderer/Deferred.hlsl
- 0(248) : error C1115: unable to find compatible overloaded function "clamp(vec3, float, vec3)"
- :
- #version 140
- #pragma optionNV(fastmath on)
- #pragma optionNV(ifcvt none)
- #pragma optionNV(inline all)
- #pragma optionNV(strict on)
- #pragma optionNV(unroll all)
- vec3 matrix_row0(mat3 m, int i) { return vec3( m[0][i], m[1][i], m[2][i] ); }
- vec4 matrix_row0(mat4 m, int i) { return vec4( m[0][i], m[1][i], m[2][i], m[3][i] ); }
- void clip0(float x) { if (x < 0.0) ; }
- void clip0(vec2 x) { if (any(lessThan(x, vec2(0.0, 0.0)))) ; }
- void clip0(vec3 x) { if (any(lessThan(x, vec3(0.0, 0.0, 0.0)))) ; }
- void clip0(vec4 x) { if (any(lessThan(x, vec4(0.0, 0.0, 0.0, 0.0)))) ; }
- vec2 m_scalar_swizzle20(float x) { return vec2(x, x); }
- ivec2 m_scalar_swizzle20(int x) { return ivec2(x, x); }
- uvec2 m_scalar_swizzle20(uint x) { return uvec2(x, x); }
- vec3 m_scalar_swizzle30(float x) { return vec3(x, x, x); }
- ivec3 m_scalar_swizzle30(int x) { return ivec3(x, x, x); }
- uvec3 m_scalar_swizzle30(uint x) { return uvec3(x, x, x); }
- vec4 m_scalar_swizzle40(float x) { return vec4(x, x, x, x); }
- ivec4 m_scalar_swizzle40(int x) { return ivec4(x, x, x, x); }
- uvec4 m_scalar_swizzle40(uint x) { return uvec4(x, x, x, x); }
- in vec3 POSITION;
- in vec2 TEXCOORD0;
- in vec3 NORMAL;
- in vec3 BINORMAL;
- in vec3 TANGENT;
- in vec4 COLOR;
- out vec4 frag_TEXCOORD0;
- out vec2 frag_TEXCOORD1;
- out vec3 frag_TEXCOORD2;
- out vec3 frag_TEXCOORD3;
- out vec3 frag_TEXCOORD4;
- out vec3 frag_TEXCOORD5;
- out vec3 frag_COLOR1;
- out vec4 frag_COLOR0;
- out vec4 frag_TEXCOORD6;
- layout (std140) uniform PassConstants {
- vec2 imagePlaneSize;
- vec2 rcpFrame;
- vec4 rcpFrameOpt;
- vec2 texelCenter;
- float nearPlane;
- float farPlane;
- };
- layout (std140) uniform SceneConstants {
- mat4 cameraToScreenMatrix;
- mat4 cameraToWorldMatrix;
- mat4 worldToScreenMatrix;
- mat4 worldToCameraMatrix;
- vec3 wsCameraOrigin;
- float time;
- };
- uniform sampler2D randomNormalTexture;
- struct VS_Def
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement