[Mesa-dev] [PATCH 1/6] tgsi: add TXQ support.
Dave Airlie
airlied at gmail.com
Thu Aug 25 06:43:01 PDT 2011
On Thu, Aug 25, 2011 at 2:28 PM, Brian Paul <brianp at vmware.com> wrote:
> How would the TXQ instruction be implemented for a hardware driver?
Same way, I have implemented it on R600.
>
> Is there really a HW GPU instruction that returns the size of a texture?
Yes. RESINFO instruction at least on R600.
>
> Otherwise, this seems like something we could implement in the state tracker
> by putting the texture size into a constant buffer slot. Then we'd have it
> for all drivers.
>
Don't think we need to do that.
Dave.
More information about the mesa-dev
mailing list