i965/fs: Optimize float conversions of byte/word extract.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_fs.h
index 7446ca10cd189d7e14515e5b5ab99089e4933081..21c7813509ba043c14c24c0f1566ccfdd5146668 100644 (file)
@@ -272,6 +272,8 @@ public:
    void emit_percomp(const brw::fs_builder &bld, const fs_inst &inst,
                      unsigned wr_mask);
 
+   bool optimize_extract_to_float(nir_alu_instr *instr,
+                                  const fs_reg &result);
    bool optimize_frontfacing_ternary(nir_alu_instr *instr,
                                      const fs_reg &result);