[Mesa-dev] [PATCH 0/4] gallium: add support for retrieving number of texture samples

Ilia Mirkin imirkin at alum.mit.edu
Fri Sep 11 11:18:04 PDT 2015


On Fri, Sep 11, 2015 at 10:47 AM, Brian Paul <brianp at vmware.com> wrote:
> On 09/11/2015 07:26 AM, Roland Scheidegger wrote:
>>
>> Am 11.09.2015 um 05:15 schrieb Ilia Mirkin:
>>>
>>> My hope was (as you can see in the last patch) to enable this for all
>>> drivers that support MS textures. I've got nv50/nvc0/r600g covered.
>>>
>>> RadeonSI will have to read the data from the texture descriptor. I'm
>>> totally unfamiliar with LLVM, the descriptor format, etc. Hopefully
>>> someone will be able to write an appropriate patch.
>>>
>>> SVGA seems to support ms textures, but I didn't see anything in its
>>> virtual ISA that would fit. VMWare folk -- is this going to be easy to
>>> add? Or do I need to add a new PIPE_CAP?
>>
>> Note the d3d equivalent (sample_info) is d3d10.1 and svga3d opcodes only
>> cover d3d10, so yes this isn't doable. So I guess for the time being,
>> either a cap bit or emulation (stick it into a uniform) should be done,
>> though Brian probably knows better.
>
>
> Yeah, we could emulate it with and extra constant, but I don't think I'll
> have time to look at it for a while.  Can we use a new CAP for now?

Bah humbug. OK, cap it is.


More information about the mesa-dev mailing list