layout(r16ui) uniform restrict writeonly uimage2D ac2_ac5_tex;
layout(r8i) uniform restrict writeonly iimage2D ac3_tex;
layout(r8i) uniform restrict writeonly iimage2D ac4_tex;
-layout(r8i) uniform restrict readonly iimage2D image_tex;
+layout(r8ui) uniform restrict readonly uimage2D image_tex;
shared float temp[64];
const float p4_6 = p2_6 * a4 + (p2_4 - p2_6) * a5;
// phase 5
- const float p5_2 = p4_2 + p2_3;
- const float p5_3 = p4_2 - p2_3;
- const float p5_5 = p4_5 + p1_7;
+ const float p5_2 = p2_3 + p4_2;
+ const float p5_3 = p2_3 - p4_2;
+ const float p5_5 = p1_7 + p4_5;
const float p5_7 = p1_7 - p4_5;
// phase 6