[Mesa-dev] [PATCH 1/6] tgsi: add TXQ support.
keithw at vmware.com
Thu Aug 25 07:18:07 PDT 2011
On Thu, 2011-08-25 at 15:00 +0100, Dave Airlie wrote:
> On Thu, Aug 25, 2011 at 2:43 PM, Keith Whitwell <keithw at vmware.com> 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...
More information about the mesa-dev