<Company>
I actually like precompiled shader code - both because I don't trust random GLSL parsers to actually work and because I get proper syntax checking of my code at compile time
<Company>
so spirv is cool with me
<Company>
what isn't cool is the limited default featureset compared to what you can do with printf() and GLSL
nerdopolis has joined #dri-devel
leizhou has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
davispuh has quit [Ping timeout: 480 seconds]
guludo has quit [Quit: WeeChat 4.3.3]
leizhou has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
clee_ has left #dri-devel [#dri-devel]
LeviYun has quit [Ping timeout: 480 seconds]
clee has joined #dri-devel
oneforall2 has quit [Ping timeout: 480 seconds]
flynnjiang has joined #dri-devel
oneforall2 has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
asrivats has quit [Ping timeout: 480 seconds]
leizhou has quit [Remote host closed the connection]
nerdopolis has joined #dri-devel
LeviYun has joined #dri-devel
alane has quit []
alane has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
flynnjiang has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
flynnjiang has quit [Remote host closed the connection]
flynnjiang has joined #dri-devel
kode54 has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
flynnjiang has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
vjaquez has quit [Read error: Connection reset by peer]
vjaquez has joined #dri-devel
kj2_ has joined #dri-devel
kj2 has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
leizhou has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
leizhou has quit [Ping timeout: 480 seconds]
leizhou has joined #dri-devel
amarsh04 has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
LeviYun has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
leizhou has joined #dri-devel
<kurufu>
Not sure if this is the right place, but is it possible to synchronize with the clock used for drmHandleEvent's page_flip_handler2? On my amd system it seems to generally report 500us ahead of CLOCK_MONOTONIC.
leizhou has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
leizhou has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
leizhou has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
vedran is now known as vedranm
LeviYun has quit [Ping timeout: 480 seconds]
leizhou has joined #dri-devel
glennk has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
krychu has quit [Ping timeout: 480 seconds]
bmodem has joined #dri-devel
enunes has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has joined #dri-devel
fab has joined #dri-devel
itoral has joined #dri-devel
leizhou has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
leizhou has quit [Ping timeout: 480 seconds]
sima has joined #dri-devel
smaeul has quit [Read error: Connection reset by peer]
<Lynne>
so RDNA3 decided to have FOUR 64-bit add instructions for memory, but not have one acting on registers...
frieder has quit [Ping timeout: 480 seconds]
<Lynne>
just chuck one in next time, okay? there's 56 billion transistors in there, a few more aren't going to break the bank
Haaninjo has joined #dri-devel
<glehmann>
rdna4 will actually have 64bit add scalar instructions
gnuiyl_ has joined #dri-devel
<glehmann>
and for vector, what's wrong with 2 32bit add with carry-in/out? iirc there is ever some fast forwarding for the mask so total worst case latency isn't really worse than a "real" 64bit instruction
Company has joined #dri-devel
gnuiyl_ has quit []
mripard has quit [Remote host closed the connection]
flynnjiang has quit [Quit: flynnjiang]
ellyq_ has quit [Remote host closed the connection]
frieder has joined #dri-devel
ellyq_ has joined #dri-devel
<Lynne>
nothing about the latter, I was unhappy about scalar 64-bit adds missing
<Lynne>
since it means that BDAs are even more expensive to index
riteo has joined #dri-devel
enunes has joined #dri-devel
<glehmann>
don't get me wrong, 64bit SALU adds are nice to have, but in practice SALU is rarely a bottleneck
amarsh04 has joined #dri-devel
<enunes>
psa there was a power failure this morning in the lima lab for mesa CI for ~1-2 hours, I think it went back to normal and is picking up pending jobs now. Sorry about that and I hope it didn't cause any block during that time
frieder has quit [Ping timeout: 480 seconds]
Company has quit [Read error: Connection reset by peer]
<zamundaaa[m]>
kurufu: to translate between the two clocks, you can fetch the current time with both clocks and use the difference. But it should really be in CLOCK_MONOTONIC already... are you sure the 500us don't come from something else?
dllud has quit []
dllud has joined #dri-devel
warpme has joined #dri-devel
kts has joined #dri-devel
frieder has joined #dri-devel
Thymo has joined #dri-devel
paulk has quit [Read error: Connection reset by peer]
paulk has joined #dri-devel
ellyq_ has quit []
Company has joined #dri-devel
guludo has joined #dri-devel
davispuh has joined #dri-devel
amarsh04 has quit []
amarsh04 has joined #dri-devel
frieder has quit [Ping timeout: 480 seconds]
warpme has quit []
fab has joined #dri-devel
leizhou has joined #dri-devel
frieder has joined #dri-devel
mripard has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
fab has quit [Quit: fab]
heat has joined #dri-devel
smpl has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
Jeremy_Rand_Talos__ has joined #dri-devel
Company has quit [Read error: Connection reset by peer]
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
davispuh has quit [Ping timeout: 480 seconds]
dliviu has quit [Remote host closed the connection]
dliviu has joined #dri-devel
nerdopolis has joined #dri-devel
itoral has quit [Quit: Leaving]
<eric_engestrom>
zmike: please assign to marge all your dril/etc. fixes that are ready, I'll do the release in a couple of hours :)
<zmike>
I'm working on the last one
<zmike>
almost there
<eric_engestrom>
I mean, this is true for everyone, but you have more urgent fixes than most :P
<eric_engestrom>
ack
<eric_engestrom>
ping me once you do?
<zmike>
k
<eric_engestrom>
thx
riteo has quit [Remote host closed the connection]
frieder has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
frieder has joined #dri-devel
Company has joined #dri-devel
riteo has joined #dri-devel
gfxstrand has joined #dri-devel
bob has joined #dri-devel
frieder has quit [Ping timeout: 480 seconds]
bob has quit []
fab has joined #dri-devel
<mareko>
Lynne: what is BDA?
<Lynne>
buffer device address, e.g. real pointers
frieder has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
alih has joined #dri-devel
LeviYun has joined #dri-devel
<mareko>
the 64-bit memory ops must be 64-bit because they are atomic, can't be split
frieder has quit [Remote host closed the connection]
davispuh has joined #dri-devel
<Lynne>
yeah, my point was that if they could put 64-bit multiply units which handle memory, they should've also put 64-bit units which handle registers
<Lynne>
*adds, not mults
<glehmann>
spealing of mults, rdna4 also add s_mul_u64 btw
leizhou has quit [Remote host closed the connection]
leizhou has joined #dri-devel
<mareko>
Lynne: it would just be a macro opcode that is decoded as 2 32-bit adds, there's probably not much point doing that
kzd has joined #dri-devel
LeviYun has quit [Remote host closed the connection]
LeviYun has joined #dri-devel
<Lynne>
that's right, that's why I asked for 64-bit add units, which implies true 64-bit adds
<mareko>
64-bit add units are unlikely to exist in any hw, internally they are usually just 32-bit add units executing in 2 passes
<Lynne>
really? even the memory 64 bit adds?
<mareko>
it's not about what is real 64-bit or not, it's about what the throughput and latency is
<mareko>
and pipelining
<Lynne>
obviously, you'd prefer real 64-bit adds because then you have shorter dependency chains
<mareko>
there is no dependency between low and high 32 bits, the carry out is forwarded as carry in to the next instruction without any delay
<zmike>
eric_engestrom: I think I'm done, but there's nobody around to ack the updated version and the testers seem to have disappeared
<zmike>
dunno what you wanna do about that
<mareko>
that's an architectural optimization for carry out/in, and things like make it difficult to tell just from the ISA how fast it is
warpme has joined #dri-devel
mbrost has joined #dri-devel
<eric_engestrom>
zmike: which one is it?
<austriancoder>
MESA_SHADER_FRAGMENT vs. PIPE_SHADER_FRAGMENT - which is the preferred one?
<eric_engestrom>
"error: 'c' may be used uninitialized" and pointing at `unsigned c = 0;` -> I have never seen a more obvious gcc bug
<eric_engestrom>
zmike: not sure how to "fix" that one
pcercuei has quit [Ping timeout: 480 seconds]
<daniels>
well, you could fix the code to not trip the completely correct warning
<daniels>
if (c) is hit via 'goto out' from places before 'unsigned c = 0' is declared
tintou has joined #dri-devel
<tintou>
c = 0u ?
<daniels>
so c is technically not yet initialised
pcercuei has joined #dri-devel
<eric_engestrom>
oh
<eric_engestrom>
thanks daniels
<eric_engestrom>
I completely missed that
<eric_engestrom>
zmike: ^
<zmike>
eric_engestrom: if you want to squash it in, I've stepped out for a bit and won't be at a pc
<eric_engestrom>
zmike: sorry no, I'll do the release now, there are other MRs being merged so it would take a while until this one is merged
<eric_engestrom>
it will be in the next -rc
<zmike>
eric_engestrom: errr
<zmike>
but the release will be unusable
<zmike>
without this
<zmike>
lmao
<eric_engestrom>
is it really that bad?
<zmike>
just cancel marge for everything else and push it through
<eric_engestrom>
ack
mbrost has quit [Ping timeout: 480 seconds]
<zmike>
eric_engestrom: or just do the rc tomorrow
<eric_engestrom>
yeah, I think I'll do that
mbrost has joined #dri-devel
<zmike>
🤝
<zmike>
should be smooth sailing after this one
<zmike>
we've uncovered a lot of ci coverage gaps
<zmike>
which will never be filled
<MrCooper>
famous last words
anujp has joined #dri-devel
<zmike>
trust me buddy it's fixed
asrivats has joined #dri-devel
feaneron has joined #dri-devel
<DavidHeidelberg>
anyone runs rusticl on nouveau? I would like to see if piglit/bin/cl-api-enqueue-fill-buffer pass
<DavidHeidelberg>
gfxstrand: ^ ?
warpme has joined #dri-devel
warpme has quit []
<kurufu>
zamundaaa[m]: Yes but which clock to fetch, and how to fetch it is the issue. I did some digging and it does seem to generally just be ktime which should be CLOCK_MONOTONIC which seems it should be mostly aligned across cpus? So I guess the question is page flips getting signalled before they flip expected.
<zamundaaa[m]>
> is page flips getting signalled before they flip expected
<zamundaaa[m]>
yes
<zamundaaa[m]>
About which clock to fetch, that's what DRM_CAP_TIMESTAMP_MONOTONIC is for
rasterman has quit [Quit: Gettin' stinky!]
<zamundaaa[m]>
On any not super insanely old kernel it should be set though