On Thu, Aug 25, 2011 at 2:28 PM, Brian Paul <bri...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to