diff options
author | Christoph Bumiller <[email protected]> | 2013-02-22 18:45:16 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2013-03-12 12:55:34 +0100 |
commit | 22b762f9b495b14400f30bd6537f7c5a6d262325 (patch) | |
tree | 25ce4f42408d1af788dbcb1fcdec76e766c0a16f /src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h | |
parent | c82714c593ac38ea87e061b92d10b34853784723 (diff) |
nv50/ir: add various new OPs that will be needed for compute
Diffstat (limited to 'src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h')
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h b/src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h index 40241b18d1c..7ec22b55e66 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h @@ -43,7 +43,7 @@ static inline bool isMemoryFile(DataFile f) // contrary to asTex(), this will never include SULD/SUST static inline bool isTextureOp(operation op) { - return (op >= OP_TEX && op <= OP_TEXCSAA) || (op == OP_TEXPREP); + return (op >= OP_TEX && op <= OP_TEXPREP); } static inline unsigned int typeSizeof(DataType ty) @@ -304,14 +304,14 @@ const FlowInstruction *Instruction::asFlow() const TexInstruction *Instruction::asTex() { - if ((op >= OP_TEX && op <= OP_TEXCSAA) || (op == OP_TEXPREP)) + if (op >= OP_TEX && op <= OP_SULEA) return static_cast<TexInstruction *>(this); return NULL; } const TexInstruction *Instruction::asTex() const { - if (op >= OP_TEX && op <= OP_TEXCSAA) + if (op >= OP_TEX && op <= OP_SULEA) return static_cast<const TexInstruction *>(this); return NULL; } |