Fixes missing checks to body arguments. Do not create debug declaration for value-only parameter. Bug in alignment for atomics. Macro ref parameters are pointers.

This commit is contained in:
Christoffer Lerno
2023-07-15 13:52:00 +02:00
committed by Christoffer Lerno
parent 90d91b4891
commit 34306cbf5d
55 changed files with 1405 additions and 1455 deletions

View File

@@ -9,10 +9,10 @@ def Vec2 = double[<2>];
def Vec3 = double[<3>];
def Vec4 = double[<4>];
macro Vec2f.length_sq(&self) => self.dot(self);
macro Vec3f.length_sq(&self) => self.dot(self);
macro Vec4f.length_sq(&self) => self.dot(self);
macro Vec2.length_sq(&self) => self.dot(self);
macro Vec2f.length_sq(self) => self.dot(self);
macro Vec3f.length_sq(self) => self.dot(self);
macro Vec4f.length_sq(self) => self.dot(self);
macro Vec2.length_sq(self) => self.dot(self);
macro Vec3.length_sq(self) => self.dot(self);
macro Vec4.length_sq(self) => self.dot(self);