olivial has quit [Read error: Connection reset by peer]
olivial has joined #dri-devel
mehdi-djait3397165695212282475 has joined #dri-devel
mehdi-djait3397165695212282475 has quit []
bolson has quit [Ping timeout: 480 seconds]
bolson has joined #dri-devel
<Company>
bluetail: in C, different integer types are first promoted to the largest type, and when one of those is unsigned, then the other will be turned unsigned
<Company>
so int64_t + uint32_t will be int64_t I believe (because you can turn a uint32 into int64 without data loss
<Company>
but int32_t + uint32_t will end up as uint32_t (which does lose data and that can be really annoying
<Company>
and that gets really annoying if you (usually accidentally) do int32_t x = -1; uint32_t y = 0; int_64_t z = x + y;
<Company>
because the addition happens first and gets done in uint32_t which then gets converted again for the assignment
<mareko>
int32_t + uint32_t --> uint32_t doesn't lose data, you can cast the result back to int32_t to get signed bits because the addition produces the same bits regardless of the signedness of the type
<mareko>
the uint32_t result type only affects later operations like conversion to float where the type matters
<mareko>
conversions between signed and unsigned int are noops
alarumbe has quit [Ping timeout: 480 seconds]
jkrzyszt_ has quit []
caitcatdev has quit [Read error: Connection reset by peer]
Sid127 has quit [Ping timeout: 480 seconds]
alarumbe has joined #dri-devel
alarumbe has quit [Read error: No route to host]
Sid127 has joined #dri-devel
alarumbe has joined #dri-devel
caitcatdev has joined #dri-devel
alane has quit []
alane has joined #dri-devel
yuq825 has quit [Remote host closed the connection]
yuq825 has joined #dri-devel
f_ is now known as f_||likes||pipes
f_||likes||pipes is now known as f_
guludo has quit [Ping timeout: 480 seconds]
<bl4ckb0ne>
why does vkCmdBlitImage may perform a format conversion but not vkCmdCopyImage?
guludo has joined #dri-devel
<karolherbst>
because one is a blit and the other is a plain copy
<bl4ckb0ne>
might have to check my definition of blit then