mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-04-20 18:01:41 -04:00
Fixed cubic3D and cubicLattice_3D variations for AMD GPUs
This commit is contained in:
parent
04d14eb735
commit
e741ba880e
@ -773,6 +773,7 @@ public:
|
|||||||
"\t\t vOut.z = val3 - " << halfweight << ";\n"
|
"\t\t vOut.z = val3 - " << halfweight << ";\n"
|
||||||
"\t\t break;\n"
|
"\t\t break;\n"
|
||||||
"\t\t case 7:\n"
|
"\t\t case 7:\n"
|
||||||
|
"\t\t default:\n"
|
||||||
"\t\t vOut.x = val1 - " << halfweight << ";\n"
|
"\t\t vOut.x = val1 - " << halfweight << ";\n"
|
||||||
"\t\t vOut.y = val2 - " << halfweight << ";\n"
|
"\t\t vOut.y = val2 - " << halfweight << ";\n"
|
||||||
"\t\t vOut.z = val3 - " << halfweight << ";\n"
|
"\t\t vOut.z = val3 - " << halfweight << ";\n"
|
||||||
@ -1023,6 +1024,7 @@ public:
|
|||||||
<< "\t\t vOut.z = pztz - " << weight << ";\n"
|
<< "\t\t vOut.z = pztz - " << weight << ";\n"
|
||||||
<< "\t\t break;\n"
|
<< "\t\t break;\n"
|
||||||
<< "\t\t case 7:\n"
|
<< "\t\t case 7:\n"
|
||||||
|
<< "\t\t default:\n"
|
||||||
<< "\t\t vOut.x = pxtx - " << weight << ";\n"
|
<< "\t\t vOut.x = pxtx - " << weight << ";\n"
|
||||||
<< "\t\t vOut.y = pyty - " << weight << ";\n"
|
<< "\t\t vOut.y = pyty - " << weight << ";\n"
|
||||||
<< "\t\t vOut.z = pztz - " << weight << ";\n"
|
<< "\t\t vOut.z = pztz - " << weight << ";\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user