Created
July 5, 2020 18:07
-
-
Save TheBloke/9d5c8a32cc1edc79b71030d405d552e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RT kernel OpenSimplexKernel failed to build: | |
| Failed to load metal library. | |
| Metal Error Code: 3 Domain: MTLLibraryErrorDomain | |
| Metal Error Message: Compilation failed: | |
| program_source:1393:59: error: use of type 'double' requires the -fnative-double option to be enabled | |
| __DEVICE__ double extrapolate(int xsb, int ysb, int zsb, double dx, double dy, double dz,constant OpenSimplexParams *params) { | |
| ^ | |
| program_source:1393:70: error: use of type 'double' requires the -fnative-double option to be enabled | |
| __DEVICE__ double extrapolate(int xsb, int ysb, int zsb, double dx, double dy, double dz,constant OpenSimplexParams *params) { | |
| ^ | |
| program_source:1393:81: error: use of type 'double' requires the -fnative-double option to be enabled | |
| __DEVICE__ double extrapolate(int xsb, int ysb, int zsb, double dx, double dy, double dz,constant OpenSimplexParams *params) { | |
| ^ | |
| program_source:1393:13: error: use of type 'double' requires the -fnative-double option to be enabled | |
| __DEVICE__ double extrapolate(int xsb, int ysb, int zsb, double dx, double dy, double dz,constant OpenSimplexParams *params) { | |
| ^ | |
| program_source:1415:27: error: use of type 'double' requires the -fnative-double option to be enabled | |
| __DEVICE__ int fastFloor(double x) { | |
| ^ | |
| program_source:1420:46: error: use of type 'double' requires the -fnative-double option to be enabled | |
| __DEVICE__ double eval(int x, int y, int z, double zoom, constant OpenSimplexParams *params) { | |
| ^ | |
| program_source:1420:13: error: use of type 'double' requires the -fnative-double option to be enabled | |
| __DEVICE__ double eval(int x, int y, int z, double zoom, constant OpenSimplexParams *params) { | |
| ^ | |
| program_source:1422:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double stretchOffset = ((x/zoom) + (y/zoom) + (z/zoom)) * params->STRETCH_CONSTANT_3D; | |
| ^ | |
| program_source:1423:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double xs = (x/zoom) + stretchOffset; | |
| ^ | |
| program_source:1424:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double ys = (y/zoom) + stretchOffset; | |
| ^ | |
| program_source:1425:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double zs = (z/zoom) + stretchOffset; | |
| ^ | |
| program_source:1429:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double squishOffset = (xsb + ysb + zsb) * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1430:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double xb = xsb + squishOffset; | |
| ^ | |
| program_source:1431:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double yb = ysb + squishOffset; | |
| ^ | |
| program_source:1432:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double zb = zsb + squishOffset; | |
| ^ | |
| program_source:1433:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double xins = xs - xsb; | |
| ^ | |
| program_source:1434:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double yins = ys - ysb; | |
| ^ | |
| program_source:1435:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double zins = zs - zsb; | |
| ^ | |
| program_source:1436:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double inSum = xins + yins + zins; | |
| ^ | |
| program_source:1437:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx0 = (x/zoom) - xb; | |
| ^ | |
| program_source:1438:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy0 = (y/zoom) - yb; | |
| ^ | |
| program_source:1439:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz0 = (z/zoom) - zb; | |
| ^ | |
| program_source:1443:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1444:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1447:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double value = 0; | |
| ^ | |
| program_source:1451:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double aScore = xins; | |
| ^ | |
| program_source:1453:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double bScore = yins; | |
| ^ | |
| program_source:1464:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double wins = 1 - inSum; | |
| ^ | |
| program_source:1480:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy_ext1 = dy0; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1480:17: error: use of undeclared identifier 'dy_ext1' | |
| dy_ext0 = dy_ext1 = dy0; | |
| ^ | |
| program_source:1483:8: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 += 1; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1486:8: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 += 1; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1490:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy_ext1 = dy0 - 1; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1490:17: error: use of undeclared identifier 'dy_ext1' | |
| dy_ext0 = dy_ext1 = dy0 - 1; | |
| ^ | |
| program_source:1496:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz0; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1497:7: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 + 1; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1500:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz_ext1 = dz0 - 1; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1500:17: error: use of undeclared identifier 'dz_ext1' | |
| dz_ext0 = dz_ext1 = dz0 - 1; | |
| ^ | |
| program_source:1519:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1520:7: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 + 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1523:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy0 - 1 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1524:7: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1530:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1531:7: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 + 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1534:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz0 - 1 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1535:7: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1540:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn0 = 2 - dx0 * dx0 - dy0 * dy0 - dz0 * dz0; | |
| ^ | |
| program_source:1547:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx1 = dx0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1548:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy1 = dy0 - 0 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1549:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz1 = dz0 - 0 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1550:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn1 = 2 - dx1 * dx1 - dy1 * dy1 - dz1 * dz1; | |
| ^ | |
| program_source:1557:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx2 = dx0 - 0 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1558:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy2 = dy0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1559:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz2 = dz1; | |
| ^ | |
| program_source:1560:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn2 = 2 - dx2 * dx2 - dy2 * dy2 - dz2 * dz2; | |
| ^ | |
| program_source:1567:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx3 = dx2; | |
| ^ | |
| program_source:1568:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy3 = dy1; | |
| ^ | |
| program_source:1569:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz3 = dz0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1570:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn3 = 2 - dx3 * dx3 - dy3 * dy3 - dz3 * dz3; | |
| ^ | |
| program_source:1579:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double aScore = xins; | |
| ^ | |
| program_source:1581:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double bScore = yins; | |
| ^ | |
| program_source:1592:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double wins = 3 - inSum; | |
| ^ | |
| program_source:1608:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy_ext1 = dy0 - 1 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1608:17: error: use of undeclared identifier 'dy_ext1' | |
| dy_ext0 = dy_ext1 = dy0 - 1 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1611:8: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 -= 1; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1614:8: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 -= 1; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1618:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy_ext1 = dy0 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1618:17: error: use of undeclared identifier 'dy_ext1' | |
| dy_ext0 = dy_ext1 = dy0 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1624:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz0 - 1 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1625:7: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 2 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1628:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz_ext1 = dz0 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1628:17: error: use of undeclared identifier 'dz_ext1' | |
| dz_ext0 = dz_ext1 = dz0 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1647:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1648:7: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 - 2 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1651:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy0 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1652:7: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1658:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1659:7: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 2 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1662:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz0 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1663:7: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1668:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx3 = dx0 - 1 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1669:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy3 = dy0 - 1 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1670:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz3 = dz0 - 0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1671:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn3 = 2 - dx3 * dx3 - dy3 * dy3 - dz3 * dz3; | |
| ^ | |
| program_source:1678:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx2 = dx3; | |
| ^ | |
| program_source:1679:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy2 = dy0 - 0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1680:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz2 = dz0 - 1 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1681:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn2 = 2 - dx2 * dx2 - dy2 * dy2 - dz2 * dz2; | |
| ^ | |
| program_source:1688:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx1 = dx0 - 0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1689:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy1 = dy3; | |
| ^ | |
| program_source:1690:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz1 = dz2; | |
| ^ | |
| program_source:1691:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn1 = 2 - dx1 * dx1 - dy1 * dy1 - dz1 * dz1; | |
| ^ | |
| program_source:1701:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn0 = 2 - dx0 * dx0 - dy0 * dy0 - dz0 * dz0; | |
| ^ | |
| program_source:1707:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double aScore; | |
| ^ | |
| program_source:1710:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double bScore; | |
| ^ | |
| program_source:1715:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double p1 = xins + yins; | |
| ^ | |
| program_source:1727:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double p2 = xins + zins; | |
| ^ | |
| program_source:1739:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double p3 = yins + zins; | |
| ^ | |
| program_source:1741:6: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double score = p3 - 1; | |
| ^ | |
| program_source:1752:6: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double score = 1 - p3; | |
| ^ | |
| program_source:1770:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy0 - 1 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1771:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz0 - 1 - 3 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1780:8: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1781:8: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1787:8: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 - 2 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1788:8: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1794:8: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1795:8: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 2 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1804:7: error: use of undeclared identifier 'dy_ext0'; did you mean 'dx_ext0'? | |
| dy_ext0 = dy0; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1805:7: error: use of undeclared identifier 'dz_ext0'; did you mean 'dx_ext0'? | |
| dz_ext0 = dz0; | |
| ^~~~~~~ | |
| dx_ext0 | |
| program_source:1443:11: note: 'dx_ext0' declared here | |
| double dx_ext0, dy_ext0, dz_ext0; | |
| ^ | |
| program_source:1814:8: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1815:8: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1821:8: error: use of undeclared identifier 'dy_ext1'; did you mean 'dx_ext1'? | |
| dy_ext1 = dy0 + 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1822:8: error: use of undeclared identifier 'dz_ext1'; did you mean 'dx_ext1'? | |
| dz_ext1 = dz0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^~~~~~~ | |
| dx_ext1 | |
| program_source:1444:11: note: 'dx_ext1' declared here | |
| double dx_ext1, dy_ext1, dz_ext1; | |
| ^ | |
| program_source:1828:8: error: use of undeclared identifier 'dy_ext1' | |
| dy_ext1 = dy0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1829:8: error: use of undeclared identifier 'dz_ext1' | |
| dz_ext1 = dz0 + 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1848:7: error: use of undeclared identifier 'dy_ext0' | |
| dy_ext0 = dy0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1849:7: error: use of undeclared identifier 'dz_ext0' | |
| dz_ext0 = dz0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1855:7: error: use of undeclared identifier 'dy_ext0' | |
| dy_ext0 = dy0 + 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1856:7: error: use of undeclared identifier 'dz_ext0' | |
| dz_ext0 = dz0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1862:7: error: use of undeclared identifier 'dy_ext0' | |
| dy_ext0 = dy0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1863:7: error: use of undeclared identifier 'dz_ext0' | |
| dz_ext0 = dz0 + 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1871:6: error: use of undeclared identifier 'dy_ext1' | |
| dy_ext1 = dy0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1872:6: error: use of undeclared identifier 'dz_ext1' | |
| dz_ext1 = dz0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1880:7: error: use of undeclared identifier 'dy_ext1' | |
| dy_ext1 -= 2; | |
| ^ | |
| program_source:1883:7: error: use of undeclared identifier 'dz_ext1' | |
| dz_ext1 -= 2; | |
| ^ | |
| program_source:1889:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx1 = dx0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1890:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy1 = dy0 - 0 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1891:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz1 = dz0 - 0 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1892:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn1 = 2 - dx1 * dx1 - dy1 * dy1 - dz1 * dz1; | |
| ^ | |
| program_source:1899:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx2 = dx0 - 0 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1900:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy2 = dy0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1901:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz2 = dz1; | |
| ^ | |
| program_source:1902:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn2 = 2 - dx2 * dx2 - dy2 * dy2 - dz2 * dz2; | |
| ^ | |
| program_source:1909:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx3 = dx2; | |
| ^ | |
| program_source:1910:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy3 = dy1; | |
| ^ | |
| program_source:1911:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz3 = dz0 - 1 - params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1912:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn3 = 2 - dx3 * dx3 - dy3 * dy3 - dz3 * dz3; | |
| ^ | |
| program_source:1919:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx4 = dx0 - 1 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1920:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy4 = dy0 - 1 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1921:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz4 = dz0 - 0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1922:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn4 = 2 - dx4 * dx4 - dy4 * dy4 - dz4 * dz4; | |
| ^ | |
| program_source:1929:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx5 = dx4; | |
| ^ | |
| program_source:1930:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy5 = dy0 - 0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1931:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz5 = dz0 - 1 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1932:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn5 = 2 - dx5 * dx5 - dy5 * dy5 - dz5 * dz5; | |
| ^ | |
| program_source:1939:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dx6 = dx0 - 0 - 2 * params->SQUISH_CONSTANT_3D; | |
| ^ | |
| program_source:1940:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dy6 = dy4; | |
| ^ | |
| program_source:1941:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double dz6 = dz5; | |
| ^ | |
| program_source:1942:5: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn6 = 2 - dx6 * dx6 - dy6 * dy6 - dz6 * dz6; | |
| ^ | |
| program_source:1950:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn_ext0 = 2 - dx_ext0 * dx_ext0 - dy_ext0 * dy_ext0 - dz_ext0 * dz_ext0; | |
| ^ | |
| program_source:1950:47: error: use of undeclared identifier 'dy_ext0' | |
| double attn_ext0 = 2 - dx_ext0 * dx_ext0 - dy_ext0 * dy_ext0 - dz_ext0 * dz_ext0; | |
| ^ | |
| program_source:1950:57: error: use of undeclared identifier 'dy_ext0' | |
| double attn_ext0 = 2 - dx_ext0 * dx_ext0 - dy_ext0 * dy_ext0 - dz_ext0 * dz_ext0; | |
| ^ | |
| program_source:1950:67: error: use of undeclared identifier 'dz_ext0' | |
| double attn_ext0 = 2 - dx_ext0 * dx_ext0 - dy_ext0 * dy_ext0 - dz_ext0 * dz_ext0; | |
| ^ | |
| program_source:1950:77: error: use of undeclared identifier 'dz_ext0' | |
| double attn_ext0 = 2 - dx_ext0 * dx_ext0 - dy_ext0 * dy_ext0 - dz_ext0 * dz_ext0; | |
| ^ | |
| program_source:1954:98: error: use of undeclared identifier 'dy_ext0' | |
| value = value + ( attn_ext0 * attn_ext0 * extrapolate(xsv_ext0, ysv_ext0, zsv_ext0, dx_ext0, dy_ext0, dz_ext0,params)); | |
| ^ | |
| program_source:1954:107: error: use of undeclared identifier 'dz_ext0' | |
| value = value + ( attn_ext0 * attn_ext0 * extrapolate(xsv_ext0, ysv_ext0, zsv_ext0, dx_ext0, dy_ext0, dz_ext0,params)); | |
| ^ | |
| program_source:1958:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double attn_ext1 = 2 - dx_ext1 * dx_ext1 - dy_ext1 * dy_ext1 - dz_ext1 * dz_ext1; | |
| ^ | |
| program_source:1958:47: error: use of undeclared identifier 'dy_ext1' | |
| double attn_ext1 = 2 - dx_ext1 * dx_ext1 - dy_ext1 * dy_ext1 - dz_ext1 * dz_ext1; | |
| ^ | |
| program_source:1958:57: error: use of undeclared identifier 'dy_ext1' | |
| double attn_ext1 = 2 - dx_ext1 * dx_ext1 - dy_ext1 * dy_ext1 - dz_ext1 * dz_ext1; | |
| ^ | |
| program_source:1958:67: error: use of undeclared identifier 'dz_ext1' | |
| double attn_ext1 = 2 - dx_ext1 * dx_ext1 - dy_ext1 * dy_ext1 - dz_ext1 * dz_ext1; | |
| ^ | |
| program_source:1958:77: error: use of undeclared identifier 'dz_ext1' | |
| double attn_ext1 = 2 - dx_ext1 * dx_ext1 - dy_ext1 * dy_ext1 - dz_ext1 * dz_ext1; | |
| ^ | |
| program_source:1962:98: error: use of undeclared identifier 'dy_ext1' | |
| value = value + ( attn_ext1 * attn_ext1 * extrapolate(xsv_ext1, ysv_ext1, zsv_ext1, dx_ext1, dy_ext1, dz_ext1,params)); | |
| ^ | |
| program_source:1962:107: error: use of undeclared identifier 'dz_ext1' | |
| value = value + ( attn_ext1 * attn_ext1 * extrapolate(xsv_ext1, ysv_ext1, zsv_ext1, dx_ext1, dy_ext1, dz_ext1,params)); | |
| ^ | |
| program_source:1973:3: error: type 'long' is not supported in Metal | |
| long seed; | |
| ^ | |
| program_source:1986:20: error: read-only variable is not assignable | |
| params->perm[i] = source[r]; | |
| ~~~~~~~~~~~~~~~ ^ | |
| program_source:1987:31: error: read-only variable is not assignable | |
| params->permGradIndex3D[i] = (short)((params->perm[i] % (72 / 3)) * 3); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | |
| program_source:1990:19: error: cannot assign to variable 'params' with const-qualified type 'const constant DAVINCIIP_NAMESPACE::OpenSimplexParams *' | |
| params->sOffset = max(params->w6, max(params->h6,params->d6)) * 6; | |
| ~~~~~~~~~~~~~~~ ^ | |
| program_source:1968:67: note: variable 'params' declared const here | |
| __KERNEL__ void OpenSimplexKernel(constant OpenSimplexParams *params, __TEXTURE2D_WRITE__ dst __COMPUTE_QUALIFIER_3D__ ) | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | |
| program_source:2000:4: error: use of type 'double' requires the -fnative-double option to be enabled | |
| double value = 0; | |
| ^ | |
| program_source:2008:50: error: no matching function for call to 'pow' | |
| value = value + (eval(x,y,z,(params->zoom / _powf(2,((d-1)))),params) * camp); | |
| ^~~~~ | |
| program_source:485:28: note: expanded from macro '_powf' | |
| #define _powf pow | |
| ^~~ | |
| /System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/3902/Libraries/lib/clang/902.3/include/metal/metal_math:640:15: note: candidate template ignored: requirement '_math_binary_func_enable<int, int>::value' was not satisfied [with T = int, U = int] | |
| METAL_FUNC _O pow(T x, U y) | |
| ^ | |
| program_source:2009:24: error: no matching function for call to 'pow' | |
| maxamp = maxamp + _powf(2,((d - 1)*-1)); | |
| ^~~~~ | |
| program_source:485:28: note: expanded from macro '_powf' | |
| #define _powf pow | |
| ^~~ | |
| /System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/3902/Libraries/lib/clang/902.3/include/metal/metal_math:640:15: note: candidate template ignored: requirement '_math_binary_func_enable<int, int>::value' was not satisfied [with T = int, U = int] | |
| METAL_FUNC _O pow(T x, U y) | |
| ^ | |
| OpenSimplex3DTileable1 failed at time 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment