Possible bug 1.21-1 64bit? When enabling openCL I get this, however seems to make no difference to my render
OpenCL Build log: "C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 12: error: identifier
"float3" is undefined
typedef float3 cl_float3;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 29: error: identifier
"float3" is undefined
float3 z;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 38: error: identifier
"float3" is undefined
static formulaOut Fractal(__constant sClInConstants *consts, float3 point, sClCalcParams *calcParam);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 39: error: identifier
"float3" is undefined
static formulaOut CalculateDistance(__constant sClInConstants *consts, float3 point, sClCalcParams *calcParam);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 53: error: identifier
"float3" is undefined
float3 Matrix33MulFloat3(matrix33 matrix, float3 vect)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 53: error: identifier
"float3" is undefined
float3 Matrix33MulFloat3(matrix33 matrix, float3 vect)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 55: error: identifier
"float3" is undefined
float3 out;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 82: error: identifier
"float3" is undefined
rot.m1 = (float3) {1.0f, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 82: error: write to <
32 bits via pointer not allowed unless cl_khr_byte_addressable_store
is enabled
rot.m1 = (float3) {1.0f, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 82: error: expected a
";"
rot.m1 = (float3) {1.0f, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 83: error: write to <
32 bits via pointer not allowed unless cl_khr_byte_addressable_store
is enabled
rot.m2 = (float3) {0.0f, c , -s };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 83: error: expected a
";"
rot.m2 = (float3) {0.0f, c , -s };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 84: error: write to <
32 bits via pointer not allowed unless cl_khr_byte_addressable_store
is enabled
rot.m3 = (float3) {0.0f, s , c };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 84: error: expected a
";"
rot.m3 = (float3) {0.0f, s , c };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 94: error: identifier
"float3" is undefined
rot.m1 = (float3) {c , 0.0f, s };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 94: error: write to <
32 bits via pointer not allowed unless cl_khr_byte_addressable_store
is enabled
rot.m1 = (float3) {c , 0.0f, s };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 94: error: expected a
";"
rot.m1 = (float3) {c , 0.0f, s };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 95: error: write to <
32 bits via pointer not allowed unless cl_khr_byte_addressable_store
is enabled
rot.m2 = (float3) {0.0f, 1.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 95: error: expected a
";"
rot.m2 = (float3) {0.0f, 1.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 96: error: write to <
32 bits via pointer not allowed unless cl_khr_byte_addressable_store
is enabled
rot.m3 = (float3) {-s , 0.0f, c };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 96: error: expected a
";"
rot.m3 = (float3) {-s , 0.0f, c };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 106: error:
identifier "float3" is undefined
rot.m1 = (float3) { c , -s , 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 106: error: write to
< 32 bits via pointer not allowed unless
cl_khr_byte_addressable_store is enabled
rot.m1 = (float3) { c , -s , 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 106: error: expected
a ";"
rot.m1 = (float3) { c , -s , 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 107: error: write to
< 32 bits via pointer not allowed unless
cl_khr_byte_addressable_store is enabled
rot.m2 = (float3) { s , c , 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 107: error: expected
a ";"
rot.m2 = (float3) { s , c , 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 108: error: write to
< 32 bits via pointer not allowed unless
cl_khr_byte_addressable_store is enabled
rot.m3 = (float3) {0.0f, 0.0f, 1.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 108: error: expected
a ";"
rot.m3 = (float3) {0.0f, 0.0f, 1.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 131: error:
identifier "float3" is undefined
float3 IndexToColour(int index, global float3 *palette)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 131: error:
identifier "float3" is undefined
float3 IndexToColour(int index, global float3 *palette)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 133: error:
identifier "float3" is undefined
float3 colOut, col1, col2, colDiff;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 162: error:
identifier "float3" is undefined
float3 CalculateNormals(__constant sClInConstants *consts, sClShaderInputData *input)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 164: error:
identifier "float3" is undefined
float3 normal = 0.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 178: error:
identifier "float3" is undefined
float3 deltax = (float3) {delta, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 178: error:
identifier "float3" is undefined
float3 deltax = (float3) {delta, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 178: error: expected
a ";"
float3 deltax = (float3) {delta, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 181: error: expected
a ";"
float3 deltay = (float3) {0.0f, delta, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 182: error:
identifier "deltay" is undefined
s3 = CalculateDistance(consts, input->point + deltay, input->calcParam).distance;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 184: error: expected
a ";"
float3 deltaz = (float3) {0.0f, 0.0f, delta};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 185: error:
identifier "deltaz" is undefined
s4 = CalculateDistance(consts, input->point + deltaz, input->calcParam).distance;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 201: error:
identifier "float3" is undefined
float3 point2;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 202: error:
identifier "float3" is undefined
float3 point3;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 239: error:
identifier "float3" is undefined
float3 RayMarching(__constant sClInConstants *consts, sClCalcParams *calcParam, float3 start, float3 direction, float maxScan, bool binaryEnable, float *distThreshOut, float *lastDistOut, bool *foundOut, float *depthOut, int *stepCount)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 239: error:
identifier "float3" is undefined
float3 RayMarching(__constant sClInConstants *consts, sClCalcParams *calcParam, float3 start, float3 direction, float maxScan, bool binaryEnable, float *distThreshOut, float *lastDistOut, bool *foundOut, float *depthOut, int *stepCount)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 239: error:
identifier "float3" is undefined
float3 RayMarching(__constant sClInConstants *consts, sClCalcParams *calcParam, float3 start, float3 direction, float maxScan, bool binaryEnable, float *distThreshOut, float *lastDistOut, bool *foundOut, float *depthOut, int *stepCount)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 241: error:
identifier "float3" is undefined
float3 point;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 339: error:
identifier "float3" is undefined
float3 MainShadow(__constant sClInConstants *consts, sClShaderInputData *input)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 341: error:
identifier "float3" is undefined
float3 shadow = 1.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 344: error:
identifier "float3" is undefined
float3 point2;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 424: error:
identifier "float3" is undefined
float3 MainSpecular(sClShaderInputData *input)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 426: error:
identifier "float3" is undefined
float3 specular;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 427: error:
identifier "float3" is undefined
float3 half = input->lightVect - input->viewVector;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 437: error:
identifier "float3" is undefined
float3 SurfaceColour(__constant sClInConstants *consts, sClShaderInputData *input, global cl_float3 *palette)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 439: error:
identifier "float3" is undefined
float3 surfaceColour = 0.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 486: error:
identifier "float3" is undefined
float3 FastAmbientOcclusion2(__constant sClInConstants *consts, sClShaderInputData *input)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 497: error:
identifier "float3" is undefined
float3 pointTemp = input->point + input->normal * scan;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 503: error:
identifier "float3" is undefined
float3 output = ao;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 778: error:
identifier "float3" is undefined
float3 ObjectShader(__constant sClInConstants *consts, sClShaderInputData *input, float3 *specularOut, float3 *colourOut, global sClInBuff *inBuff)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 778: error:
identifier "float3" is undefined
float3 ObjectShader(__constant sClInConstants *consts, sClShaderInputData *input, float3 *specularOut, float3 *colourOut, global sClInBuff *inBuff)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 778: error:
identifier "float3" is undefined
float3 ObjectShader(__constant sClInConstants *consts, sClShaderInputData *input, float3 *specularOut, float3 *colourOut, global sClInBuff *inBuff)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 780: error:
identifier "float3" is undefined
float3 output;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 783: error:
identifier "float3" is undefined
float3 vn = CalculateNormals(consts, input);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 784: error: write to
< 32 bits via pointer not allowed unless
cl_khr_byte_addressable_store is enabled
input->normal = vn;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 786: error:
identifier "float3" is undefined
float3 mainLight = consts->params.mainLightIntensity * consts->params.mainLightColour;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 792: error:
identifier "float3" is undefined
float3 shade = shadeTemp;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 795: error:
identifier "float3" is undefined
float3 shadow = 1.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 799: error:
identifier "float3" is undefined
float3 specular = MainSpecular(input) * consts->params.specularIntensity;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 802: error:
identifier "float3" is undefined
float3 colour = SurfaceColour(consts, input, inBuff->palette);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 806: error:
identifier "float3" is undefined
float3 ambient = 0.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 817: error:
identifier "float3" is undefined
float3 ambient2 = ambient * consts->params.ambientOcclusionIntensity;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 820: error:
identifier "float3" is undefined
float3 auxLights = 0.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 821: error:
identifier "float3" is undefined
float3 auxLightsSpecular = 0.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 827: error:
identifier "float3" is undefined
float3 fakeLights = 0.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 828: error:
identifier "float3" is undefined
float3 fakeLightsSpecular = 0.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 834: error: write to
< 32 bits via pointer not allowed unless
cl_khr_byte_addressable_store is enabled
(*specularOut) = mainLight * shadow * specular + auxLightsSpecular + fakeLightsSpecular;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 835: error: write to
< 32 bits via pointer not allowed unless
cl_khr_byte_addressable_store is enabled
(*colourOut) = colour;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 840: error:
identifier "float3" is undefined
float3 BackgroundShader(__constant sClInConstants *consts, sClShaderInputData *input, image2d_t imageBackground)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 840: error: image
types not support for the target hardware
float3 BackgroundShader(__constant sClInConstants *consts, sClShaderInputData *input, image2d_t imageBackground)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 842: error:
identifier "float3" is undefined
float3 colour;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 854: error:
identifier "float3" is undefined
float3 vector = { 0.0f, 0.0f, -1.0f };
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 873: error:
identifier "float3" is undefined
float3 VolumetricShader(__constant sClInConstants *consts, sClShaderInputData *input, global sClInBuff *inBuff, float3 oldPixel, float *opacityOut, float *alphaOut)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 873: error:
identifier "float3" is undefined
float3 VolumetricShader(__constant sClInConstants *consts, sClShaderInputData *input, global sClInBuff *inBuff, float3 oldPixel, float *opacityOut, float *alphaOut)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 875: error:
identifier "float3" is undefined
float3 output = oldPixel;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 889: error:
identifier "float3" is undefined
float3 glowColour = (consts->params.glowColour1 * glowN + consts->params.glowColour2 * glow);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 916: error:
identifier "float3" is undefined
float3 point = input->startPoint + input->viewVector * scan;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 917: error: write to
< 32 bits via pointer not allowed unless
cl_khr_byte_addressable_store is enabled
input->point = point;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 951: error:
identifier "float3" is undefined
float3 lightDistVect = point - inBuff->lights[i].position;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 980: error:
identifier "float3" is undefined
float3 point2 = point + input->viewVector * step2 * smallStep;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 986: error:
identifier "float3" is undefined
float3 lightDistVect = point2 - inBuff->lights[i].position;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1021: error:
identifier "float3" is undefined
float3 shadowOutputTemp = MainShadow(consts, input);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1067: error:
identifier "float3" is undefined
float3 fogTemp = (consts->params.fogColour1 * kn + consts->params.fogColour2 * k);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1090: error:
identifier "float3" is undefined
float3 newColour = 0.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1099: error:
identifier "float3" is undefined
float3 fogCol = (consts->params.fogColour1 * kn + consts->params.fogColour2 * k);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1116: error:
identifier "float3" is undefined
float3 shadowOutputTemp = MainShadow(consts, input);
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1169: error: image
types not support for the target hardware
kernel void fractal3D(__global sClPixel *out, __global sClInBuff *inBuff, __constant sClInConstants *consts, __global sClReflect *reflectBuff, image2d_t imageBackground, int Gcl_offset)
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1197: error:
identifier "float3" is undefined
const float3 one = (float3) {1.0f, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1197: error:
identifier "float3" is undefined
const float3 one = (float3) {1.0f, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1197: error: expected
a ";"
const float3 one = (float3) {1.0f, 0.0f, 0.0f};
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1198: error: "float3"
is not a type name
const float3 ones = 1.0f;
^
"C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl", line 1201: error: write to
< 32 bits via pointer not allowed unless
cl_khr_byte_addressable_store is enabled
rot.m1 = (float3){1.0f, 0.0f, 0.0f};
^
Error limit reached.
100 errors detected in the compilation of "C:\Users\DellG\AppData\Local\Temp\OCL14A6.tmp.cl".
Compilation terminated.
Internal error: clc compiler invocation failed.