ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
LeviYun has joined #dri-devel
libv_ has joined #dri-devel
<alyssa> jenatali: VK spec is a little ambiguous but I think you're probably ok
libv has quit [Ping timeout: 480 seconds]
<jenatali> Yeah? Atomics in a TCS happening N+1 times because they're on both the critical path to patch constants and control points?
<alyssa> My take is that an app doing that is in UB
<alyssa> in VK
<jenatali> Oh cool
<alyssa> in GL, the spec does.. not support that reading
<alyssa> but given it's relaxed in VK let's call it a GL spec bug and move on ;)
apinheiro has quit [Quit: Leaving]
<alyssa> mareko: actually, that raises a good question - do we expect this opt to benefit every proton game using tess, because it undoes the tcs lowering in dxvk/vkd3d-proton?
<alyssa> I assume you had a gl workload in mind tho
DavidHeidelberg_ has joined #dri-devel
DavidHeidelberg has quit [Ping timeout: 480 seconds]
heat has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
wens has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
wens has joined #dri-devel
pcercuei has quit [Quit: dodo]
Company has quit [Ping timeout: 480 seconds]
Daanct12 has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
libv has joined #dri-devel
LeviYun has joined #dri-devel
libv_ has quit [Ping timeout: 480 seconds]
Company has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
alane has quit []
sassefa has joined #dri-devel
alane has joined #dri-devel
mbrost has joined #dri-devel
Daanct12 has quit [Quit: WeeChat 4.4.2]
LeviYun has quit [Ping timeout: 480 seconds]
Daanct12 has joined #dri-devel
sassefa has quit []
sassefa has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
amarsh04 has quit []
amarsh04 has joined #dri-devel
LeviYun has joined #dri-devel
amarsh04 has quit []
amarsh04 has joined #dri-devel
sassefa has quit []
LeviYun has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
kzd has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
sassefa has joined #dri-devel
Company has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
LeviYun has joined #dri-devel
robink has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
robink has joined #dri-devel
plouton has quit []
LeviYun has quit [Ping timeout: 480 seconds]
karenw has quit [Ping timeout: 480 seconds]
oneforall2 has joined #dri-devel
yogesh_mohan has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
nowallchanged has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
<nowallchanged> a little elaboration on the technique: 256+115+72=443 where as base is 256 index 115 and value 72, similarly 256+120+70=446, so 443-115-256=72 512-72=440, now where 26 and 16 come from, 187 and 190 come from 443-256 and 446-256, where as 184 and 186 come from 1024-840 and 1024-838, now also 26 and 16 is 443+397 i.e last inverse bounded index is 883 and 446+392 838, so 883+115 subtract
<nowallchanged> from 1024 is 26 1024-888-120 is 16, so it's in place algorithm, now constants , all arithmetic is done by those . It's pseudo code but many opportunities on how bisg banks as wished, lot more compact for wire protocol than var-uint.
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
<nowallchanged> distance is another term and that comes as 512-443 is 69, the method is very simple, there is also -69, and the vector procedures work without flow control, you build a performant compute alus this way, but this is all very long story, the compute paradigm works intact of data access . This paradigm was the last i worked on, it is for filesystems.
<nowallchanged> and this all is for ensurance that the world of science did not make any mistakes on the number systems or numeral systems, it's the most brilliant way to present digits as it is done now.
sassefa has quit []
<nowallchanged> if there is a need , i explain how all the system works by specification, commodity hw is very very performant and low-power capable from sw tweaks.
LeviYun has joined #dri-devel
bmodem has joined #dri-devel
<nowallchanged> you'll get a clue very quick from those talks, but artemis project to visit the moon , would give you glimpse as to how powerful ar drones and such with that tech, and as to how the universe really works and radio waves and such, unfortunately estonians do not have air force, swedes and finnish have though, last are our ethnic groups just like us very close, same clan.
LeviYun has quit [Ping timeout: 480 seconds]
epoch101 has quit [Ping timeout: 480 seconds]
amarsh04 has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
<nowallchanged> it's literally yes the same tribes which came from central europe and dislocated to this area, had a punch of wars with other nations which today do not exist, because we finished them off in the region, which is also quite brutal and perhaps does not fit to modern age anymore.
<nowallchanged> bunch
<nowallchanged> And joss is computer systems engineer the abuse from my dad and their friends made me even wiser if not stronger.
<nowallchanged> At the moment with oak fragments or javel we can not go against russians so lots of new military establishing is needed , and a lot of it comes down to electronics too, other part is explosives and air force and such.
<nowallchanged> it took 40 years to replace the the guns in the army, now they are as lethal as possible
<nowallchanged> those are infantry guns
itoral has joined #dri-devel
<nowallchanged> so technically no more talks by is planned in front of you, i am busy to cover my micro debts as well as to recover form injuries, and i do program a bit too, linux systems has been feeding me well, but there is modernizing needed to be started , otherwise linux is ok, but this bloated method set it contains is only a start , package managents are solid, and work is not too complex.
LeviYun has quit [Ping timeout: 480 seconds]
<nowallchanged> the shortcomings of software and very inflexible hardware like r300 as well as nv34 and gma945 that i had covered now, just taught me much, i could tell right away that there must be a way to run them well, but the puzzle lasted for decades as to how exactly
amarsh04 has joined #dri-devel
<nowallchanged> the code materilizes very quickly now when moores law is dead officially, it's only a matter of time when you also start to look back to clean up the old next to new systems, we are doing fine there entirely.
<K900> My guy no one cares please just stop
<nowallchanged> yeah i stop, you are a monkey i have no time for anyways
<nowallchanged> it's an official brain fart and sausage jam you are at , if you come near my locations again i fire bullets
<nowallchanged> i treat all of you with respect you deserve and this respect is like for laura keskinen you get crippled entirely
<nowallchanged> good bye, never in my hotels you come to scam again, you got it? we invested million dollars to there, and business is busted cause of such people. But the idea was not mine, those dad friends are as retarded as you.
<nowallchanged> cheers.
nowallchanged has quit [Remote host closed the connection]
RAOF has quit [Remote host closed the connection]
<K900> Wow I can't believe that actually worked lol
frieder has joined #dri-devel
jsa has joined #dri-devel
<Ermine> hopefully
sima has joined #dri-devel
rasterman has joined #dri-devel
robink has quit [Ping timeout: 480 seconds]
robink has joined #dri-devel
glennk has joined #dri-devel
<airlied> dwfreed: ^
warpme has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
LeviYun has joined #dri-devel
jkrzyszt has joined #dri-devel
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #dri-devel
<kode54> wow, a /24 from kazakhstan this time
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #dri-devel
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #dri-devel
lynxeye has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
RAOF has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
apinheiro has joined #dri-devel
Company has joined #dri-devel
kts has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
vliaskov has joined #dri-devel
coldfeet has joined #dri-devel
warpme has quit []
kts has joined #dri-devel
jsa has joined #dri-devel
<dolphin> airlied, sima: Sent the drm-intel-next-fixes
kts has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
soreau has quit [Remote host closed the connection]
soreau has joined #dri-devel
kts has joined #dri-devel
shoragan has quit [Ping timeout: 480 seconds]
amarsh04 has quit []
pH5 has quit [Ping timeout: 480 seconds]
plouton has joined #dri-devel
feaneron has quit [Quit: feaneron]
kts has quit [Quit: Leaving]
YuGiOhJCJ has joined #dri-devel
vsagar has joined #dri-devel
amarsh04 has joined #dri-devel
guludo has joined #dri-devel
jfalempe has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
nerdopolis has joined #dri-devel
LeviYun has joined #dri-devel
pH5 has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
shoragan has joined #dri-devel
jkrzyszt_ has joined #dri-devel
jkrzyszt has quit [Ping timeout: 480 seconds]
bbrezillon has joined #dri-devel
bbrezill1 has quit [Ping timeout: 480 seconds]
pcercuei has joined #dri-devel
itoral has quit [Remote host closed the connection]
plouton has quit [Remote host closed the connection]
amarsh04 has quit []
plouton has joined #dri-devel
plouton has quit [Remote host closed the connection]
plouton has joined #dri-devel
amarsh04 has joined #dri-devel
plouton has quit [Remote host closed the connection]
plouto has joined #dri-devel
apinheiro has quit [Quit: Leaving]
LeviYun has joined #dri-devel
vsagar has quit [Remote host closed the connection]
<alyssa> glehmann: do you know off hand how ishl.nuw and ishl.nsw are defined in NIR?
<alyssa> i'm trying to fix my address mode optimization, the problem is that the hardware does extend-then-shift but GL things will do shift-then-extend. those are equivalent if you know that the shift won't overflow (because the API level buffer is <4GiB)
<alyssa> so I think I need to teach glsl-to-nir to annotate things as .nuw or something
<alyssa> ditto for imul.nuw I guess
<alyssa> lower_uniforms_to_ubo, for example, does a 32-bit imul_imm which is... difficult to see through
<Venemo> alyssa: what kind of tcs lowering is there in dxvk / vkd3d-proton? I was unaware of that.
<Venemo> alyssa: I think the main benefit of such an optimization would be to games that use tessellation for primitive culling. it would reduce memory accesses done by VS+TCS, except for those that are not used for calculating the tessellation levels, and would allow us to use AMD's "shortcut" instruction to set all tess levels to zero or one instead of a memory write, for tess level outputs.
<Venemo> I think that apps / games that cull a lot of primitives using tessellation, would be able to do so faster with this optimization
<glehmann> alyssa: nsw/nuw in NIR are the same as SPIR-V. For ishl this means undefined behavior if any of the bits shifted away are non zero (for nuw)/not the same as sign bit (fow nsw) , or if the sign bit of the source and result are different for nsw
<alyssa> Venemo: I haven't looked at the dxvk/vkd3d-proton side, but hull shaders are split up in HLSL so the lowering is happening either in proton or in microsoft's compiler. and jenatali's comments imply the former
<alyssa> Venemo: makes sense. is that a common use of tessellation? sorry I just started working on AAA titles, like, Tuesday.
<alyssa> glehmann: cool, thanks. that should work
<alyssa> not looking forward to plumbing nuw bits throughout the GLSL stack but it's ... fine
LeviYun has quit [Ping timeout: 480 seconds]
<glehmann> why would the GLSL shift be nuw?
LeviYun has joined #dri-devel
<Venemo> alyssa: I haven't verified that myself, but it sounds like that is a use of tessellation, yeah, unless I misunderstood what mareko was saying.
simon-perretta-img has joined #dri-devel
<alyssa> Venemo: alright
simon-perretta-img__ has joined #dri-devel
<alyssa> glehmann: because when glsl-to-nir is emitting load_ubo's and things, it knows that the UBO/SSBO is less than 4GiB
<alyssa> (unlike spirv-to-nir, grown up APIs allow bigger buffers potentially)
amarsh04 has quit [Remote host closed the connection]
jsa has quit [Ping timeout: 480 seconds]
simon-perretta-img_ has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
heat has joined #dri-devel
jsa has joined #dri-devel
Daanct12 has quit [Quit: WeeChat 4.4.2]
jsa has quit [Ping timeout: 480 seconds]
feaneron has joined #dri-devel
u-amarsh04 has joined #dri-devel
jsa has joined #dri-devel
coldfeet has quit [Remote host closed the connection]
rellla has quit [Ping timeout: 480 seconds]
rellla has joined #dri-devel
u-amarsh04 has quit [Remote host closed the connection]
<glehmann> isn't that done in nir_lower_io, not glsl to nir?
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
frieder has quit [Remote host closed the connection]
kzd has joined #dri-devel
<mareko> alyssa: Unigine Heaven culls patches that are outside the viewport by setting tess levels to 0, AMD in the past have advised game developers to cull such patches in TCS
davispuh has joined #dri-devel
<alyssa> glehmann: yeah, I guess so
<alyssa> more knobs (:
<alyssa> mareko: gotcha. makes sense, thanks
<alyssa> yeah, such a pass seems reasonable then
<mareko> alyssa: TCS outputs are passed to TES via memory; if TCS outputs are written for culled patches, that's wasted bandwidth
mriesch_ has joined #dri-devel
mriesch has quit [Ping timeout: 480 seconds]
<alyssa> sure
amarsh04 has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest3938
dsimic has joined #dri-devel
Guest3938 has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
amarsh04 has quit []
LeviYun has quit [Ping timeout: 480 seconds]
jsa1 has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
<alyssa> vectorizing bounds check t_t
LeviYun has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
Duke`` has joined #dri-devel
u-amarsh04 has joined #dri-devel
mbrost has joined #dri-devel
u-amarsh04 has quit []
jsa1 has quit [Ping timeout: 480 seconds]
warpme has quit []
amarsh04 has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
linkmauve has left #dri-devel [Disconnected: Replaced by new connection]
linkmauve has joined #dri-devel
vsagar has joined #dri-devel
vliaskov has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
linkmauve has left #dri-devel [#dri-devel]
linkmauve has joined #dri-devel
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
LeviYun has joined #dri-devel
bolson has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
amarsh04 has quit []
linkmauve has left #dri-devel [#dri-devel]
u-amarsh04 has joined #dri-devel
linkmauve has joined #dri-devel
Company has quit [Remote host closed the connection]
Company has joined #dri-devel
Company has quit []
Company has joined #dri-devel
Company has quit []
Company has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
cascardo has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
feaneron has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
kaiwenjon has quit [Quit: WeeChat 3.8]
lynxeye has quit [Quit: Leaving.]
Kayden has quit [Quit: -> jf]
fab has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
kts has joined #dri-devel
jkrzyszt_ has quit [Ping timeout: 480 seconds]
docmax__ has joined #dri-devel
docmax_ has quit [Ping timeout: 480 seconds]
feaneron has joined #dri-devel
rcf has joined #dri-devel
cascardo has joined #dri-devel
fab has quit [Quit: fab]
apinheiro has joined #dri-devel
vliaskov has joined #dri-devel
kts has quit [Quit: Leaving]
mbrost has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
<karolherbst> do we have a pass somewhere which makes image load/stores to operate on a vec4 for the pixel data?
<karolherbst> mhh actually, I only need it for image_load
<mareko> karolherbst: what do you mean?
<mareko> image loads always return vec4
<zf> Hi! Does anyone know how I can get an equivalent of glXSwapBuffersMscOML() + glXWaitForSbcOML() for Vulkan?
<zf> VK_KHR_present_wait seems kind of like the right thing, but it seems very vague about when the wait is signaled, and the best language I can find suggests that it's signaled at "first pixel out" which is too early.
iive has joined #dri-devel
mbrost_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
fab has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
Haaninjo has joined #dri-devel
vsagar has quit [Remote host closed the connection]
gouchi has joined #dri-devel
<jenatali> I think the people here probably don't have much overlap with our normal announcement channels, but this one specifically is probably relevant: Microsoft publicly announced that D3D is switching from DXIL to SPIR-V going forward
<mattst88> wow, interesting
<zf> (Perhaps I should bring my question to a mailing list, or somewhere else?)
<glehmann> jenatali: structured or unstructured spir-v?
<zamundaaa[m]> zf: what timing do you want, if not first pixel out?
<jenatali> glehmann: I seriously hope structured...
<zf> zamundaaa[m]: Last pixel out, I believe? Basically what I want to do is be able to XCopyArea() on the window's drawable and make sure I'm picking up the frame I just presented.
<zamundaaa[m]> Why would you use X11 to copy the window content when Vulkan can do that much more efficiently?
<zf> The way things are set up I can't just create a swapchain for the drawable I'm trying to copy to
<zf> Is that going to be necessary? It's not with GLX_OML_sync_control, but if it's necessary for Vulkan then I'll have to rework a lot of things
<zamundaaa[m]> I don't know too much about X11, but in any sanely designed API you wouldn't have to time a copy request exactly in between two frames to get it right
<zamundaaa[m]> Thst would be a very racy thing to do, to put it mildly
<zf> We're waiting for the first frame to complete before doing another present/swap
<zamundaaa[m]> If you wait for last pixel out, you'd very reliably render at half the refresh rate of the display with that
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
<alyssa> jenatali: spicy.
<zamundaaa[m]> Most likely what you actually need is first pixel out, and present with mailbox or fifo, so that the driver only swaps buffers for the next frame and not earlier
<zf> That's not quite the problem we're trying to solve unfortunately
<karolherbst> mareko: yeah.. except for OpenCL C image loads on `image2d_depth_t` which have scalar return values
<karolherbst> and they are also scalar in spirv
<karolherbst> but if rusticl is the only thing having to deal with it, I guess I can write the lowering, I was just wondering if anybody already had to
<karolherbst> jenatali: great news :)
<zf> This is for Wine. We're trying to do something that seems weird and roundabout, in creating a swapchain on an offscreen window and manually compositing it to an onscreen one. This is because Windows lets you create swapchains in certain circumstances that can't be translated directly
<zf> In this case we implement wglSwapBuffers() over glXSwapBuffersMscOML() + glXWaitForSbcOML() + XCopyArea()
<zf> If we need to virtualize the entire swapchain, well, so be it, but I was hoping that Vulkan would let us do what GLX does
<zf> I don't understand why, but I believe the GLX path lets us present at the original refresh rate? Note that we don't actually need the image to be "visible", we just need X11 to be able to see it, so it doesn't copy the image from the last frame
<zf> OML_sync_control has clear language that specifies pretty much this. I don't know what language if any Vulkan has for this
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #dri-devel
LeviYun has joined #dri-devel
<linkmauve> zf, how are you going to make that work on Wayland? Wouldn’t it work on both to export the dmabuf you just rendered, map the buffer, wait until the sync thingy is signaled, then do the copy manually?
gouchi has quit [Remote host closed the connection]
<zf> I haven't looked into Wayland, but I can say we don't necessarily need CPU access ourselves. Is that going to be functionally equivalent to XCopyArea()?
<zf> i.e. I don't know if XCopyArea() is itself going to do a download
<linkmauve> I don’t know anywhere near enough about Xwayland to be able to answer that.
<zf> If we have to download the image just to upload it again, that sounds a lot worse in theory, if not also in practice. This is of course a compositing problem, but...
sassefa has joined #dri-devel
tobiasjakobi has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
tobiasjakobi has quit []
fab has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has joined #dri-devel
mriesch_ has quit []
mriesch has joined #dri-devel
LeviYun has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
nopjmp_ has joined #dri-devel
sassefa has quit []
LeviYun has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
nopjmp has quit [Ping timeout: 480 seconds]
aperezdc has quit [Remote host closed the connection]
aperezdc has joined #dri-devel
kaiwenjon has joined #dri-devel
epoch101_ has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
mbrost_ has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
Mangix has quit [Read error: Connection reset by peer]
epoch101_ has quit [Ping timeout: 480 seconds]
epoch101 has quit []
Mangix has joined #dri-devel
vliaskov has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
guludo has quit [Quit: WeeChat 4.4.2]
sassefa has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
sassefa has quit []
sassefa has joined #dri-devel
sassefa has quit []
LeviYun has joined #dri-devel
pcercuei has quit [Quit: dodo]
<JoshuaAshton> zf: XCopyArea just results in glamor GPU work
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
plouto has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
sima has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
plouto has joined #dri-devel
plouto has quit [Remote host closed the connection]
ploutos has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel