On Thu, 2011-08-25 at 15:00 +0100, Dave Airlie wrote:
> On Thu, Aug 25, 2011 at 2:43 PM, Keith Whitwell <[email protected]> wrote:
> > 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.
> 
> I can't see us caring really, its part of GLSL1.30 which pretty muhc
> means GL3.0, which pretty much means DX10.

Sounds fair enough...

Keith

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

Reply via email to