From: Dave Airlie airl...@redhat.com
this adds another callback in the sampler struct containing get_dims
entry point. This is used to query the driver for the texture resource
dimensions for the resource bound to the current sampler.
Signed-off-by: Dave Airlie airl...@redhat.com
---
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?
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
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
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
On Thu, Aug 25, 2011 at 2:43 PM, Keith Whitwell kei...@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.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/25/2011 06:28 AM, 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?
Otherwise, this seems like something we could implement in
On 08/25/2011 07:00 AM, Dave Airlie wrote:
On Thu, Aug 25, 2011 at 2:43 PM, Keith Whitwell kei...@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
On Thu, 2011-08-25 at 15:00 +0100, Dave Airlie wrote:
On Thu, Aug 25, 2011 at 2:43 PM, Keith Whitwell kei...@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