paint-goblin šŸ€ · @paintgoblin
110 followers · 892 posts · Server warhammer.social

it is a float32 literal not a double64 you pillock : 1

#pragma

Last updated 1 year ago

Daniel · @wall_e
64 followers · 347 posts · Server ioc.exchange

commit a445b2af0809ef6b5dd8e4be4eb6048b25f27558 (HEAD -> master)
Author: j.smith <j.smith@example.com>
Date: Thu Aug 31 11:03:05 2023 +0200

Doctors appointment. Back in 2 hours

diff --git a/base.h b/base.h
index 4697686..fe8753a 100644
--- a/base.h
+++ b/base.h
@@ -1,7 +1,7 @@
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.

-// Breaktime! .
+// Breaktime! .

once

#pragma

Last updated 1 year ago

Aras Pranckevičius · @aras
11047 followers · 2559 posts · Server mastodon.gamedev.place

@castano @meuns HLSL -> Metal by default goes through fxc and then via HLSLcc. But often better code these days you can get by using dxc which then goes through spirv-cross. Add ā€œ use_dxc metalā€ to your shader

#pragma

Last updated 1 year ago

Sergei Trofimovich · @trofi
65 followers · 111 posts · Server fosstodon.org

Today's `gcc` bug gcc.gnu.org/PR111051 is a case where `gcc` stopped recognizing some `avx2` primitives on `avx512` code (all on `highway-1.0.6` code again):

<immintrin.h>

GCC target("avx512vl,avx512dq")

void bug(__m256i i) {
volatile auto v1 = _mm256_cvtepi64_pd(i);
}

and failed as `error: inlining failed in call to 'always_inline' '__m256d _mm256_setzero_pd()': target specific option mismatch`

#include #pragma #gcc #bug

Last updated 1 year ago

dexitroboper · @dexitroboper
72 followers · 308 posts · Server aus.social

@foone let alone

#pragma

Last updated 1 year ago

:qtuwu: :qtuwu: :qtuwu: · @niss
423 followers · 10659 posts · Server chitter.xyz

twice

:oneofthem: :twoofthem:

#pragma

Last updated 1 year ago

dcbaok · @dcbaok
164 followers · 2333 posts · Server fosstodon.org

@lethalbit once, shame on you. twice, shame on me.

#pragma

Last updated 1 year ago

Koakuma · @koakuma
292 followers · 32793 posts · Server uwu.social

@TransGal4872 @chjara deleting your files is totally compliant, as long as you say about it somewhere in the docs :hehehe:

#pragma

Last updated 1 year ago

Archimage · @SergKoren
202 followers · 5697 posts · Server writing.exchange

One of these days Iā€™ll get out to

#pragma

Last updated 1 year ago

Grant Johnson · @Warheart
43 followers · 12 posts · Server mastodon.gamedev.place

Getting debug shaders was a little bit messy, I had to insert ' enable_d3d11_debug_symbols' into Common.hlsl and trigger a reload. Anyone know of a better way to get debug symbols for built in shaders?

#pragma

Last updated 1 year ago

Calling all papers · @cfp
30 followers · 896 posts · Server social.callingallpapers.com

24 hours until the CfP for " Conference" closes: pragmaconference.com/speakers.

#pragma

Last updated 1 year ago

Christopher Biggs · @Unixbigot
882 followers · 3069 posts · Server aus.social

@7331 @foone have you got a moment to hear the Good News about ā€œ onceā€?

#pragma

Last updated 1 year ago

Mihai Christodorescu · @mihai
75 followers · 235 posts · Server ioc.exchange

@sibin I was thinking the compiler could keep a list of content hashes for includes that have once..

#pragma

Last updated 1 year ago

Mark Bessey · @mbessey
59 followers · 292 posts · Server sfba.social

@nicklockwood there should be an option to the compiler to eliminate that warning. For specific instances, you can use:
diagnostic disable <something>

#pragma

Last updated 1 year ago

ValĆ©rian · @valerian
0 followers · 88 posts · Server social.linux.pizza
G. Wozniak · @gwozniak
47 followers · 636 posts · Server discuss.systems

@regehr memcpy

#pragma

Last updated 1 year ago

nadja :potion_asexual: · @dequbed
91 followers · 2557 posts · Server mastodon.chaosfield.at

@lunareclipse once is supported by every C compiler released since about 2010 :P

#pragma

Last updated 1 year ago

Steve Canon · @steve
1362 followers · 1517 posts · Server discuss.systems

@Doomed_Daniel @regehr @griotspeak e.g. in C use stdc fp_contract off

#pragma

Last updated 1 year ago

Bartosz Taudul · @wolfpld
261 followers · 440 posts · Server mastodon.gamedev.place

@MaxStriebel Yes, I use pack(1) to remove alignment requirements and have everything tightly packed.

It's hard to say how unaligned accesses affect performance. Data access is actually a bit more involved, with the need to do some shifting or masking, as seen here:

github.com/wolfpld/tracy/blob/

If you do everything else right, you will see data access as a hotspot, regardless of whether you have aligned or unaligned accesses. Mem/cache latency overshadows the cost of simple arithmetic ops.

#pragma

Last updated 1 year ago

Krzysztof Lesiak · @CarePackage17
37 followers · 279 posts · Server mastodon.gamedev.place

Unity supports .cpp files as plugins when building for IL2CPP, which is exactly what we need here.
We can add a .cpp file with:
```
<winsqlite/winsqlite3.h>

comment(lib, "winsqlite3.lib")
```

which will get auto-included in the generated C++ project. Now the linker should be able to find all the sqlite functions.
And sure enough, this compiles and runs fine on my Windows 11 machine!

#include #pragma

Last updated 1 year ago