[Mesa-dev] [PATCH 15/16] i965: Lower bitfieldExtract and bitfieldInsert.

Chris Forbes chrisf at ijw.co.nz
Tue Apr 23 03:37:17 PDT 2013


+         bfe_to_bitops = stage != MESA_SHADER_FRAGMENT
+                         ? BFE_TO_BITOPS : 0;
+         bitfield_insert = stage != MESA_SHADER_FRAGMENT
+                           ? BITFIELD_INSERT_TO_BFM_BITOPS
+                           : BITFIELD_INSERT_TO_BFM_BFI;

I think these would be clearer with the conditions inverted?


More information about the mesa-dev mailing list