nvc0/ir: be careful about propagating very large offsets into const load
[mesa.git] / src / gallium / drivers / nouveau / codegen / nv50_ir_target_nvc0.h
index 3c5c7480405bd17ba1369571f94b6607be01587f..7d11cd963159942564418d5d82912c1de36b77cf 100644 (file)
@@ -48,6 +48,8 @@ public:
 
    virtual bool insnCanLoad(const Instruction *insn, int s,
                             const Instruction *ld) const;
+   virtual bool insnCanLoadOffset(const Instruction *insn, int s,
+                                  int offset) const;
    virtual bool isOpSupported(operation, DataType) const;
    virtual bool isAccessSupported(DataFile, DataType) const;
    virtual bool isModSupported(const Instruction *, int s, Modifier) const;