nvc0/ir: check that the image format doesn't mismatch
[mesa.git] / src / gallium / drivers / nouveau / codegen / nv50_ir_target.h
index 4e33997e1c1984cc5dc60e95f185d2d370f20d7a..e6e1912adae023e3e74b8a49aae9d2d680c73170 100644 (file)
@@ -191,6 +191,8 @@ public:
 
    virtual bool insnCanLoad(const Instruction *insn, int s,
                             const Instruction *ld) const = 0;
+   virtual bool insnCanLoadOffset(const Instruction *insn, int s,
+                                  int offset) const = 0;
    virtual bool isOpSupported(operation, DataType) const = 0;
    virtual bool isAccessSupported(DataFile, DataType) const = 0;
    virtual bool isModSupported(const Instruction *,