austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://freenode.irclog.whitequark.org/etnaviv
JohnnyonFlame has quit [Read error: Connection reset by peer]
pcercuei has quit [Read error: Connection reset by peer]
zear has quit [Read error: Connection reset by peer]
sorki has joined #etnaviv
srk has quit [Ping timeout: 268 seconds]
sorki is now known as srk
_whitelogger has joined #etnaviv
lynxeye has joined #etnaviv
pcercuei has joined #etnaviv
pcercuei has quit [Read error: Connection reset by peer]
pcercuei_ has joined #etnaviv
pcercuei_ is now known as pcercuei
berton has joined #etnaviv
JohnnyonFlame has joined #etnaviv
lynxeye has quit [Quit: lynxeye]
pcercuei has quit [Read error: Connection reset by peer]
pcercuei has joined #etnaviv
<marex> austriancoder: https://gitlab.freedesktop.org/marex/mesa/-/commit/c007dc545d8377f789b3cecb9ab49db3971ffa07 does this look like a reasonably acceptable way to set W=1 if we replace pointcoord X,Y only ?
<marex> austriancoder: something similar will be needed for NIR
<marex> austriancoder: the idea is that if points are used, hardware only replaces X,Y inputs to PS with the point coord, but Z,W=0,0 ; and we need W=1 in PS
pcercuei has quit [Read error: Connection reset by peer]
pcercuei_ has joined #etnaviv
pcercuei_ has quit [Read error: Connection reset by peer]
JohnnyonF has joined #etnaviv
JohnnyonFlame has quit [Ping timeout: 256 seconds]
pcercuei has joined #etnaviv
JohnnyonF has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
JohnnyonFlame has joined #etnaviv
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #etnaviv
<marex> flto: is there any documentation for the etnaviv nir implementation at all ?
<marex> I am trying to implement the above ^ for nir, but the rewriting makes zero sense
<austriancoder> marex: will have a look tomorrow.. bed time here
<austriancoder> marex: maybe a simple nir pass is all you need to write. Look at nir_lower_xxx.c examples
<marex> austriancoder: sounds simple ... I spent last four or so hours looking for a simple example of just that, or documentation, or anything that would be helpful
<austriancoder> marex: the code is the documentation.. ;)
<marex> austriancoder: and a pretty bad one at that
<austriancoder> marex: I am not sure how I can help you. If can provide you with the final lowering but I think that's not what you want.
<marex> austriancoder: I am still even trying to validate this approach to setting W=1
<austriancoder> marex: the nir docs are not great, but that's a Mesa problem
<austriancoder> marex: you did piglit and deqp runs to validate that there are no regressions and that it even could fix some fails?
<austriancoder> marex: from a quick look your approach looks okay.. but yeah.. bed time .. really now
<marex> austriancoder: good night
<flto> marex: isn't gl_PointCoord supposed to be a vec2? so maybe this a problem with the gles1 (this is about neverball gles1 right?) lowering in mesa and not a etnaviv problem?
<marex> flto: it is vec4 and imirkin says that's correct, since the vec4 is st01
karolherbst has quit [Ping timeout: 272 seconds]