[Mesa-dev] [PATCH 9/9] i965: Use nir_fixup_bitfield_insert_extract().

Matt Turner mattst88 at gmail.com
Mon Jan 11 14:48:42 PST 2016


Fixes:
   ES31-CTS.shader_bitfield_operation.bitfieldInsert.uint_2
   ES31-CTS.shader_bitfield_operation.bitfieldInsert.uvec4_3
   ES31-CTS.shader_bitfield_operation.bitfieldExtract.uvec3_0
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92595
---
 src/mesa/drivers/dri/i965/brw_nir.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_nir.c b/src/mesa/drivers/dri/i965/brw_nir.c
index f8b258b..53c0aff 100644
--- a/src/mesa/drivers/dri/i965/brw_nir.c
+++ b/src/mesa/drivers/dri/i965/brw_nir.c
@@ -469,6 +469,7 @@ brw_preprocess_nir(nir_shader *nir, bool is_scalar)
       .lower_txp = ~0,
    };
 
+   OPT(nir_fixup_bitfield_insert_extract);
    OPT(nir_lower_tex, &tex_options);
    OPT(nir_normalize_cubemap_coords);
 
-- 
2.4.9



More information about the mesa-dev mailing list