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!
jernej has joined #lima
<anarsoul> I think it fails because we don't support gl_PointSize yet
gtucker has quit [*.net *.split]
cwabbott has quit [Remote host closed the connection]
gtucker has joined #lima
yuq825 has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
warpme_ has quit [Quit: Connection closed for inactivity]
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #lima
megi has quit [Ping timeout: 276 seconds]
robertfoss has quit [Ping timeout: 240 seconds]
robertfoss has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus has joined #lima
<MoeIcenowy> anarsoul: is our HW capable of this?
<anarsoul> yes
<anarsoul> but I need someone to dump what blob does
camus is now known as kaspter
<anarsoul> it just crashes with segfault for me for anything but kmscube :\
<anarsoul> MoeIcenowy: rellla: can anyone make blob dump of this app for me? https://github.com/anarsoul/yuq-gfx/tree/master/gbm-surface-pointsize
kaspter has quit [Remote host closed the connection]
kaspter has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus has joined #lima
camus is now known as kaspter
_whitelogger has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
<anarsoul> MoeIcenowy: rellla: no need for dump, I got it
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
<anarsoul> looks like varying that is after last is gl_PointSize
<anarsoul> for non-indexed draw
<anarsoul> and for indexed it uses PLBU_CMD(va, 0x10000102) for gl_PointSize storage
<anarsoul> great
<anarsoul> now I need to figure out magic that cwabbott described in https://gitlab.freedesktop.org/panfrost/mali-isa-docs/blob/master/Utgard-GP.md
<anarsoul> i.e. gl_PointSize_actual = clamp(gl_PointSize, gl_mali_PointSizeParameters.x, gl_mali_PointSizeParameters.y) * gl_mali_PointSizeParameters.z;
<anarsoul> I wonder what is gl_mali_PointSizeParameters
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #lima
<anarsoul> gl_mali_PointSizeParameters offset is 12 according to mbs_dump and offline compiler
_whitelogger has joined #lima
<anarsoul> guess I have enough knowledge to implement it this weekend
cwabbott has joined #lima
<anarsoul> oh, and it also goes into varying info as well
<anarsoul> so it's { varying[n++] = va; varying[n++] = 0x00002021 }
<anarsoul> I guess a little more Mali4x0 RE and I'll memorize vs and plbu commands opcodes :)
<anarsoul> cwabbott: do you by any chance know what is scaling coefficient in " gl_PointSize_actual = clamp(gl_PointSize, gl_mali_PointSizeParameters.x, gl_mali_PointSizeParameters.y) * gl_mali_PointSizeParameters.z;" ?
<anarsoul> so far gl_mali_PointSizeParameters.z seems to be 1.0
<anarsoul> should I expect any different values?
dddddd has quit [Read error: Connection reset by peer]
maccraft123 has joined #lima
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #lima
maccraft123 has quit [Quit: WeeChat 2.6]
camus has joined #lima
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
Tofe has quit [Ping timeout: 264 seconds]
camus has joined #lima
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
<rellla> this were some dumps with gl_PointSize set in the vertex shader. 16.0, 50.0 and 100.0
<rellla> it seems, that the size is clamped into (0.0, 100.0)
<rellla> or (1.0, 100.0) as you said
<rellla> iirc i did these dumps with the gbm-pointsize* test programs here: https://gitlab.freedesktop.org/rellla/gfx/tree/master/
<MoeIcenowy> why do we really need gl_mali_PointSizeParameters ?
<MoeIcenowy> looks like if the clamp is big enough, and z = 1, the algorithm is translated to gl_PointSize_actual = gl_PointSize
<MoeIcenowy> and how is gl_mali_PointSizeParameters be set in the blob?
<MoeIcenowy> (it is a uniform, thus an input of the VS
maccraft123 has joined #lima
<MoeIcenowy> oh I get it, glPointParameter has GL_POINT_SIZE_MIN and GL_POINT_SIZE_MAX , these are for the clamping
<MoeIcenowy> then what's the scale?
maccraft123 has quit [Quit: WeeChat 2.6]
Tofe has joined #lima
_whitelogger has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
warpme_ has joined #lima
kaspter has quit [Ping timeout: 268 seconds]
kaspter has joined #lima
yuq825 has quit [Remote host closed the connection]
<rellla> i did a MR on mesa for introducing the stream parser. for those interested, here i added the result for ideas running with lima parser: http://imkreisrum.de/lima/ideas2/
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
megi has joined #lima
monstr has joined #lima
monstr has quit [Ping timeout: 240 seconds]
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #lima
maccraft123 has joined #lima
maccraft123 has quit [Quit: WeeChat 2.6]
maccraft123 has joined #lima
<MoeIcenowy> the scale may be for MSAA?
maccraft123 has quit [Ping timeout: 268 seconds]
dddddd has joined #lima
marvs has joined #lima
maccraft123 has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 264 seconds]
camus is now known as kaspter
maccraft123 has quit [Quit: WeeChat 2.6]
maccraft123 has joined #lima
maccraft123 has quit [Ping timeout: 240 seconds]
paulk-leonov has quit [Excess Flood]
paulk-leonov has joined #lima
<anarsoul> rellla: thanks
maccraft123 has joined #lima
<anarsoul> rellla: it also would be nice to have rsw decoded (address is in RSW_VERTEX_ARRAY)
yann has quit [Ping timeout: 252 seconds]
maccraft123 has quit [Ping timeout: 240 seconds]
maccraft123 has joined #lima
maccraft123 has quit [Ping timeout: 240 seconds]
maccraft123 has joined #lima
maccraft123 has quit [Ping timeout: 276 seconds]
maccraft123 has joined #lima
maccraft has joined #lima
maccraft123 has quit [Read error: Connection reset by peer]
maccraft has quit [Client Quit]
yann has joined #lima
maccraft123 has joined #lima
yann has quit [Ping timeout: 240 seconds]
Elpaulo has joined #lima
yann has joined #lima
yann has quit [Ping timeout: 240 seconds]
yann has joined #lima
yann has quit [Ping timeout: 240 seconds]
maccraft123 has quit [Quit: WeeChat 2.6]
maccraft123 has joined #lima
yann has joined #lima
yann has quit [Ping timeout: 240 seconds]
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
yann has joined #lima
maccraft123 has quit [Quit: WeeChat 2.6]