diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2017-02-05 18:09:02 -0500 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2017-02-09 12:57:48 -0500 |
commit | ab00a41a6e111a8243028bc4de5f52035aa30f36 (patch) | |
tree | 00156934bd52422bc83f4d78eb63eab1c4d918cd /src/gallium/drivers/nouveau/codegen/nv50_ir.h | |
parent | 61d7676df779829e713cdbc2569f7ab50492078d (diff) |
nvc0/ir: make it possible to have the flags def in def0
There's all kinds of logic that doesn't like there being holes in defs
or srcs lists. Avoid them. This also fixes the sched logic for maxwell.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/nv50_ir.h')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.h b/src/gallium/drivers/nouveau/codegen/nv50_ir.h index b7fd19d2a4c..e161a5a0492 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir.h +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir.h @@ -662,7 +662,7 @@ public: inline const Symbol *asSym() const; inline const ImmediateValue *asImm() const; - inline bool inFile(DataFile f) { return reg.file == f; } + inline bool inFile(DataFile f) const { return reg.file == f; } static inline Value *get(Iterator&); |