ChanServ changed the topic of #lima to: Development channel for open source lima driver for ARM Mali4** GPUs - Kernel driver has landed in mainline, userspace driver is part of mesa - Logs at https://oftc.irclog.whitequark.org/lima/
camus1 has joined #lima
camus has quit [Read error: Connection reset by peer]
camus has joined #lima
camus1 has quit [Ping timeout: 480 seconds]
adjtm has joined #lima
camus1 has joined #lima
camus has quit [Read error: Connection reset by peer]
camus has joined #lima
camus1 has quit [Ping timeout: 480 seconds]
<anarsoul> dual source blending is out for review: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13873
<anarsoul> next thing to implement is instancing :) we can definitely do it more efficiently than an app
<anarsoul> idea is to try using stride = 0 for divisor = 0
<anarsoul> for attributes
<anarsoul> or rather stride = 0 for divisor != 0
<anarsoul> so idea is following: for each instance: setup vertex shader for 1 instance, for divisor != 0 set stride for attributes to 0 and adjust attribute pointer according to the instance, so it doesn't advance, add gl_VertexID and gl_InstanceID built-in attributes, offset outputs for each instance
<anarsoul> that's for vs and plbu
<anarsoul> since attributes buffers will be essentially the same (or very similar) for every instance it should have good cache-hit rate
<anarsoul> for fs we can just use concatenated vs output as input :)
<anarsoul> benefits: it'll save some memory and memory bandwidth (once L2 cache is populated)
Daanct12 has joined #lima
Danct12 has quit [Ping timeout: 480 seconds]
camus1 has joined #lima
camus has quit [Ping timeout: 480 seconds]
adjtm has quit [Quit: Leaving]
<rellla> anarsoul: great, the unknown bits become less :)
camus has joined #lima
<rellla> i'm chasing after the 4 deqp bias fails, but i could only make them pass when setting the bit i mentioned. but as you said, we should not set it, as long as we know, what it does.
camus1 has quit [Ping timeout: 480 seconds]
<rellla> i wonder, why dEQP-GLES2.functional.shaders.texture_functions.fragment.texture2dproj_vec3_bias passed before. i couldn't find any critical change in how nir/ppir handles it yet. except that we don't lower anymore...
<rellla> ah, there are 3 bias fails, the cube ones pass.
camus1 has joined #lima
camus has quit [Read error: Connection reset by peer]
adjtm has joined #lima
camus1 has quit [Ping timeout: 480 seconds]
camus has joined #lima
adjtm is now known as Guest6288
adjtm has joined #lima
Guest6288 has quit [Ping timeout: 480 seconds]
<rellla> i feel like i want to write down, what we know ;) rsw, plb, texture desc, vs ...
camus1 has joined #lima
camus has quit [Ping timeout: 480 seconds]
Daanct12 is now known as Danct12
enunes has joined #lima
camus has joined #lima
camus1 has quit [Remote host closed the connection]
camus1 has joined #lima
camus has quit [Ping timeout: 480 seconds]
yann-kaelig has joined #lima
drod has joined #lima
dllud_ has joined #lima
dllud has quit [Read error: Connection reset by peer]
<anarsoul> rellla: it passed because it loaded coords from a register
<jernej> anarsoul: Is this still true? "Some tests that pass with Lima fail on Mali and vice versa." (from mesa docs)
<anarsoul> jernej: honestly, I didn't check
<anarsoul> maybe?
<rellla> anarsoul: oh, i remember you told me already
<anarsoul> we have more passing tests than blob
<anarsoul> and more features
<anarsoul> I think the only missing feature is MSAA
<jernej> don't worry, just curious
<rellla> yeah, lima has more features
<jernej> lima fail list is pretty short
<anarsoul> I have quite ambitious plans to get alacritty working on lima (not that I need it badly, just doing it for fun)
<anarsoul> with dual source blended implemented, the only missing part is instancing
<anarsoul> hw doesn't have instancing, but we can emulate it in driver, and do it more efficiently than app
<anarsoul> rellla: I wonder if dEQP-GLES2.functional.texture.mipmap.cube.* fails because we have seamless cubemap rather than regular
<anarsoul> no idea how to check it though :)
<anarsoul> expose the cap and try with piglit? it should have tests for seamless cubemap
<anarsoul> surprisingly, PP has a lot of GLES-3.0 features (unlike GP), so maybe it supports only seamless cubemaps like GLES-3.0 GPUs?
camus has joined #lima
camus1 has quit [Ping timeout: 480 seconds]
<anarsoul> enunes: how the move went?
camus1 has joined #lima
camus has quit [Ping timeout: 480 seconds]
<enunes> anarsoul: it was successful, but still lots of work to do :) assemble and set up things again
camus has joined #lima
camus1 has quit [Read error: Connection reset by peer]
<anarsoul> enunes: great :)
<anarsoul> rellla: enunes: here's some pseudo-code on how we can implement instancing in lima: https://gist.github.com/anarsoul/487deadc4253e52301d36235ba766d7d
yann-kaelig has left #lima [#lima]
Viciouss has quit [Quit: The Lounge - https://thelounge.chat]
Viciouss has joined #lima
camus has quit [Ping timeout: 480 seconds]
camus has joined #lima
camus1 has joined #lima
camus has quit [Ping timeout: 480 seconds]