[Mesa-dev] GLSL IR int-to-float pass

Bryan Cain bryancain3 at gmail.com
Wed May 25 14:32:30 PDT 2011


On 05/25/2011 12:48 PM, Jerome Glisse wrote:
> On Wed, May 25, 2011 at 9:41 AM, Keith Whitwell <keithw at vmware.com> wrote:
>> I'm not trying to impose a direction on this, but it seems like the GLSL
>> IR->TGSI converter (once running) could be pushed down into the
>> individual drivers and GLSL IR or a close cousin of it could become the
>> gallium-level interface.  Then individual drivers could be modified to
>> consume IR directly.
>>
>> Keith
> I am also in favor of getting rid of tgsi, i would prefer having the
> driver callback into mesa to set informations mesa needs from the
> shader, for instance that would allow driver to pick where they put
> attribute (might be a huge win on hw like r6xx or newer) and few
> others things like that.
>
> Cheers,
> Jerome

Even in that case, a GLSL int-to-float pass would still be useful for
drivers for hardware that doesn't support integers.

Bryan


More information about the mesa-dev mailing list