ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
pcercuei has quit [Quit: dodo]
chewitt has quit [Quit: Zzz..]
chewitt has joined #etnaviv
chewitt has quit []
frieder has joined #etnaviv
<tomeu> austriancoder: thanks for pushing your img load/store RE!
<tomeu> something I have noticed is that right after the texture address, stride and dimensions, there is in the uniform area in the cmdstream other values that seem to be related to the sampler
<tomeu> there, we have the address, stride and dimensions at u1, but at u2, u3 and u4 we have stuff that seems to be related to how the pixels are fetched
lynxeye has joined #etnaviv
pcercuei has joined #etnaviv
<austriancoder> tomeu: but .. they are not used in the shader . I have seen these extra uniforms with img_load_3d and img_store_3d. I think that the binary blob could be smarter here and clean up some unused uniforms.
<tomeu> austriancoder: yeah, I have wondered if the silicon can keep reading the next uniforms even if they aren't explicitly referenced in the instruction encoding
<austriancoder> tomeu: never seen that
<tomeu> at some point it looked as if changing the contents of those extra uniform values changed how the sampling was done
<tomeu> but everything is quitefragile right now, so it could have been something else
<tomeu> austriancoder: did you find out what texture formats those instructions support?
<tomeu> specially, if any tiling modifier is supported/expected
<austriancoder> tomeu: not out of my head. sadly I have no access to my home lab from dayjob
<tomeu> oh, np, I can try to figure it out myself
<tomeu> just trying to avoid duplicating work
<austriancoder> tomeu: thanks .. feel free to RE it :)
<tomeu> btw, src0.w seems to be related to the format
<tomeu> at least, it changes based on the format of the texture
<tomeu> - 0x321011c2, /* SH.HALTI5_UNIFORMS[7] := 0x321011c2 */
<tomeu> + 0x301211c2, /* SH.HALTI5_UNIFORMS[7] := 0x301211c2 */
<tomeu> RGBA->BGRA
<austriancoder> great
<austriancoder> what are your plans regarding the open opencl MR?
<tomeu> italove has been busy with some panfrost stuff, but hopefully will be able to get back to it
<tomeu> personally, my main goal right now is to scope better all the features needed to run tensorflow models
<austriancoder> thanks
<tomeu> austriancoder: btw, this is the direction I'm going towards: https://gitlab.freedesktop.org/tomeu/etna_viv/-/commit/575dc6e8a5594c3477ebc312a7c2475b693a4871
mvlad has joined #etnaviv
<tomeu> austriancoder: btw, how does one update the rnndb headers in mesa? if I run rnndb/gen_headers.sh in my etna_viv checkout, I get a ton of unrelated changes
<austriancoder> tomeu: the rnndb change needs to land in the github repo .. gen_headers.sh and then copy most generated files to mesa tree .. create a commit like: https://cgit.freedesktop.org/mesa/mesa/commit/?id=b00fc1a08b1bc44f00af3aa2cbd63ec56673716d
chewitt has joined #etnaviv
chewitt has quit [Ping timeout: 480 seconds]
chewitt has joined #etnaviv
chewitt has quit [Quit: Zzz..]
<tomeu> it's working nicely :)
<tomeu> well, for coords (0,0), anything else samples zeroes
<tomeu> probably some sampler config missing
<tomeu> wonder fi it can be configured to interpret src1.xy as floats
<tomeu> or maybe the instruction reads in a tiling format and I'm feeding it in linear...
Leopold___ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #etnaviv
frieder has quit [Remote host closed the connection]
lynxeye has quit [Quit: Leaving.]
pcercuei has quit [Read error: Connection reset by peer]
pcercuei has joined #etnaviv
mvlad has quit [Remote host closed the connection]
pcercuei has quit [Read error: Connection reset by peer]
pcercuei has joined #etnaviv
Leopold__ has joined #etnaviv
Leopold_ has quit [Ping timeout: 480 seconds]
Leopold__ has quit [Remote host closed the connection]
sknebel has quit [Remote host closed the connection]
sknebel has joined #etnaviv
Leopold has joined #etnaviv
pcercuei has quit [Quit: dodo]
cockroach has joined #etnaviv