On Thu, 2011-08-25 at 07:28 -0600, Brian Paul wrote:
> How would the TXQ instruction be implemented for a hardware driver?
> 
> Is there really a HW GPU instruction that returns the size of a texture?

Yes, that's correct.

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

I think that's a good fallback for hardware that's missing this
capability, but DX10+ hardware should be expected to have it.

Keith

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to