[Mesa-dev] [PATCH 1/8] nir: Add lowering for bitfieldInsert without using bfi.

Ian Romanick idr at freedesktop.org
Thu May 31 18:06:07 UTC 2018


On 05/31/2018 10:48 AM, Eric Anholt wrote:
> Ian Romanick <idr at freedesktop.org> writes:
> 
>> On 05/31/2018 10:34 AM, Ian Romanick wrote:
>>> There are GLSL IR lowering passes for a lot (all?) of this that I added
>>> when I did GL_MESA_shader_integer_functions.  Is there a reason to not
>>> use those?
>>
>> Which I now see that you mentioned in the commit messages.  Still, just
>> curious...
> 
> Because this is easier than writing new gallium caps, more legible code,
> and I need it for Vulkan anyway.

That makes sense.  I didn't realize you had to add a new cap just to
enable a GLSL IR lowering pass.  That seems awfully heavyweight.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180531/29f218e2/attachment.sig>


More information about the mesa-dev mailing list