leave simd inline example for now
This commit is contained in:
parent
0e03058714
commit
ad08d31f6a
@ -19,6 +19,22 @@ void main()
|
|||||||
r.Renderer rd = r.Init(&window);
|
r.Renderer rd = r.Init(&window);
|
||||||
scope(exit) r.Destroy(&rd);
|
scope(exit) r.Destroy(&rd);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Vec4 f1 = Vec4(r: 2.0, a: 5.5);
|
||||||
|
Vec4 f2;
|
||||||
|
|
||||||
|
Vec4* f = &f1;
|
||||||
|
|
||||||
|
asm
|
||||||
|
{
|
||||||
|
mov R8, f;
|
||||||
|
movups XMM0, f1.r.offsetof[R8];
|
||||||
|
movups f2, XMM0;
|
||||||
|
}
|
||||||
|
|
||||||
|
writeln(f2);
|
||||||
|
*/
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
p.HandleEvents(&window);
|
p.HandleEvents(&window);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user