<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>
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