[Mesa-dev] [PATCH] st/glsl_to_tgsi: fix mismatch between TGSI BFI/BFE and GLSL

Nicolai Hähnle nhaehnle at gmail.com
Mon Oct 24 13:43:52 UTC 2016


On 24.10.2016 15:38, Nicolai Hähnle wrote:
> On 24.10.2016 15:34, Ilia Mirkin wrote:
>> These work properly on nvc0. I'd rather you work around it in your
>> backend.
>
> That's not a good solution because of how the opcodes are defined. How
> about TGSI_OPCODE_{BFI,[UI]BFE}_GLSL and an associated pipe cap that
> gets enabled for nvc0?

Or we can declare that the semantics of BFI/BFE should just be in line 
with what GLSL wants. I don't know if there are other state trackers 
that rely on it, it seems that you were actually the one who introduced 
the wording in tgsi.rst...

Nicolai


More information about the mesa-dev mailing list