[Mesa-dev] [PATCH 2/2] draw/softpipe: allow softpipe to set shader params depending on runtime llvm

Dave Airlie airlied at gmail.com
Tue Jan 10 05:42:17 PST 2012


On Tue, Jan 10, 2012 at 1:08 PM, Jakob Bornecrantz <wallbraker at gmail.com> wrote:
> On Tue, Jan 10, 2012 at 12:49 PM, Dave Airlie <airlied at gmail.com> wrote:
>> From: Dave Airlie <airlied at redhat.com>
>>
>> If draw isn't using llvm we can support vertex texture and integers,
>> These will be fixed up later, but for now allow this check to happen
>> at run-time.
>
> With my draw_create_no_llvm change this logic no longer holds true, you should
> just look at the at the draw::llvm field, you probably still need that
> function since
> we are pretending the draw context is private.

Ah yes, so we have a chick/egg problem, but I can fix it in softpipe
now with your changes.

The problem is we don't have a context only a screen at the time we
report the caps.

Dave.


More information about the mesa-dev mailing list