<HdkR>
Why does gallium hud use rectangle textures anyway?
<tomeu>
guess it's something we want to support regardless of that?
<HdkR>
It's part of core GL, just not ES
<tomeu>
well, but there's lots of big GL sw that people run these days on linux desktops
<HdkR>
Sure. I'm just curious why anyone would choose to use them for gallium hud :P
<tomeu>
ah, gotcha
chewitt has quit [Ping timeout: 250 seconds]
chewitt has joined #panfrost
chewitt has quit [Ping timeout: 246 seconds]
chewitt has joined #panfrost
<bbrezillon>
austriancoder: so, if I omit the various optims done in V3D (which we'll have to do at some point), the idea is to add an implicit uniform that contains the texture size info and use use a store op to retrieve it
<bbrezillon>
I'm not entirely sure how it can be done in panfrost though
<bbrezillon>
(by implicit uniform I mean a uniform that is not explicitly declared in the shader)
<austriancoder>
bbrezillon: yeah thats the idea...all you need to do at draw time is to keep the immediate/compiler used uniforms up-to-date - etna does the same for RECT
<alyssa---->
bbrezillon: We already have a little bit of this for viewports
<alyssa---->
I'm planning to overhaul this at some point soon so we can actually implement this stuff
<bbrezillon>
alyssa----: great!
<alyssa---->
bbrezillon: I don't know if this is a blocker for you..?
<bbrezillon>
alyssa----: nothing really urgent, but I'd love to have HW counters exposed through gallium-hud :)
<bbrezillon>
there's also the solution proposed by HdkR (use TEXTURE_2D) which I'm investigating
<alyssa---->
bbrezillon: Nah, might as well get it right the first time
<alyssa---->
Since we *will* need to support txs for ES3
* alyssa----
class
<bbrezillon>
yep, that's why I went on supporting txs first, but I'm completely new to all of this :)
<alyssa---->
bbrezillon: MM, yeah. I don't know what parts of the stack you're comfortable/interested in, so I'm not sure how to help best
<alyssa---->
LeAdErShIp (TM)
<bbrezillon>
the kernel side of things is okay-ish, but I'm interested in learning more on the mesa side of things (absolutely not up to the task right now, so it's more a long term goal not something I hope so achieved in a near future)
<HdkR>
alyssa----: txs for es3?
<HdkR>
oh, texturesize?
pH5 has joined #panfrost
stikonas has joined #panfrost
<alyssa---->
HdkR: Yeah
<HdkR>
I was thinking just tex_rect :P
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #panfrost
daniels has quit [Excess Flood]
daniels has joined #panfrost
stikonas has quit [Remote host closed the connection]