ChanServ changed the topic of #lima to: Development channel for open source lima driver for ARM Mali4** GPUs - Kernel has landed in mainline, userspace driver is part of mesa - Logs at https://people.freedesktop.org/~cbrill/dri-log/index.php?channel=lima and https://freenode.irclog.whitequark.org/lima - Contact ARM for binary driver support!
dddddd has quit [Read error: Connection reset by peer]
megi has quit [Ping timeout: 245 seconds]
jrmuizel has joined #lima
yuq825 has joined #lima
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jrmuizel has quit [Quit: Leaving...]
kaspter has joined #lima
kaspter has quit [Ping timeout: 248 seconds]
kaspter has joined #lima
<anarsoul> enunes: with your fixes, nir_lower_phis_to_scalar commented out and fcsel vectorization (I just disabled lowering for now since condition is always scalar) it's able to compile ideas shader
<anarsoul> rendering is not correct though (lamp colors are wrong) and I suspect that something's fishy in spilling
<anarsoul> and it spilled only 9 regs which is nice
<anarsoul> we're doing better than blob!
<anarsoul> however our shader is twice as long :)
<anarsoul> 72 instructions vs 36
libv has quit [Ping timeout: 245 seconds]
libv has joined #lima
<anarsoul> enunes: looks like ppir_codegen_encode_store_temp() doesn't take offset into account for source reg
nerdboy has quit [Ping timeout: 246 seconds]
nerdboy has joined #lima
Barada has joined #lima
monstr has joined #lima
nerdboy has quit [Excess Flood]
nerdboy has joined #lima
nerdboy has quit [Changing host]
nerdboy has joined #lima
hoijui has joined #lima
monstr has quit [Remote host closed the connection]
nerdboy has quit [Ping timeout: 268 seconds]
nerdboy has joined #lima
adjtm_ has quit [Ping timeout: 244 seconds]
<cwabbott> anarsoul: probably some missing NIR pass in the standalone compiler
<cwabbott> you can try NIR_PRINT=true on the driver & standalone compiler to narrow down what changes it
megi has joined #lima
adjtm_ has joined #lima
yuq825 has quit [Remote host closed the connection]
Da_Coynul has joined #lima
<rellla> i'm lost with shader-db :(
<rellla> i sorted out crashing tests and now it stops proceeding with just stating "Killed" ...
mrueg has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mrueg has joined #lima
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<rellla> ah... out of memory ...
<enunes> anarsoul: hmm what do you mean by doesn't take offset into account?
<enunes> I see that maybe we should use get_scl_reg_index instead of snode->src.reg->index directly, that is probably required
<enunes> though I just tried that and it didn't fix any tests
<enunes> ideas works with your suggested changes, but the register indes in store temp codegen doesnt seem to make difference
<enunes> it seems that we don't use 'register offset' for any of the instructions that have that field so far
hoijui has quit [Ping timeout: 264 seconds]
jernej has quit [Ping timeout: 264 seconds]
kaspter has quit [Quit: kaspter]
UnivrslSuprBox has quit [Ping timeout: 264 seconds]
Moiman has quit [Ping timeout: 245 seconds]
Moiman has joined #lima
UnivrslSuprBox has joined #lima
Barada has quit [Quit: Barada]
jernej has joined #lima
dddddd has joined #lima
<anarsoul> enunes: "f->temp_write.source = snode->src.reg->index" in ppir_codegen_encode_store_temp looks suspicious
<enunes> anarsoul: yeah I agree, so I switched that to get_scl_reg_index but that didn't seem to change much, neither fixed any piglit tests
<anarsoul> enunes: but it's not scalar
<anarsoul> it's scalar is alignment == 1
<anarsoul> *if
<enunes> ok probably need to look at that in less of a hurry :)
jrmuizel has joined #lima
<anarsoul> we also have to make sure that swizzle is sequential for vec2 and vec4
nerdboy has quit [Excess Flood]
drod has joined #lima
nerdboy has joined #lima
nerdboy has joined #lima
nerdboy has quit [Changing host]
adjtm_ has quit [Ping timeout: 268 seconds]
<anarsoul> enunes: I think you can use ideas to validate your branch with spilling fixes
<anarsoul> once you get it right lamp should be rendered correctly
adjtm_ has joined #lima
<anarsoul> enunes: I spent some time during lunch to add new nir op for fcsel with scalar condition: https://gist.github.com/anarsoul/cb8caafe22006340b5557f134275f094
<anarsoul> I'll clean it up tonight and will send an MR
megi has quit [Quit: WeeChat 2.5]
<anarsoul> however I don't like it like this...
<anarsoul> I think I'll better replace nir_lower_alu_to_scalar() argument with a callback
drod has quit [Read error: Connection reset by peer]
drod has joined #lima
drod has quit [Read error: Connection reset by peer]
drod has joined #lima
jrmuizel has quit [Remote host closed the connection]
jrmuizel has joined #lima
gcl has quit [Ping timeout: 248 seconds]
Da_Coynul has joined #lima
jrmuizel has quit [Remote host closed the connection]
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jrmuizel has joined #lima
jrmuizel has quit [Remote host closed the connection]
<enunes> anarsoul: yeah I expected the vector fcsel to be implemented in alu_to_scalar instead of a different pass... and I kinda thought that we would just keep the same op and detect the scalar condition by checking the condition swizzle
<enunes> meh that regression with the spilling change... ideas is a bit too complicated to get right to block the change
<enunes> I'll likely only have more time now next week
Da_Coynul has joined #lima
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
drod has quit [Remote host closed the connection]
Da_Coynul has joined #lima
gcl has joined #lima
sunxi_fan has joined #lima
sunxi_fan has quit [Quit: Leaving.]
jrmuizel has joined #lima
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Da_Coynul has joined #lima
jrmuizel has quit [Remote host closed the connection]
jrmuizel has joined #lima