diff options
Diffstat (limited to 'src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h')
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h b/src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h index 7ec22b55e66..43d5fc1e5b0 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h @@ -46,6 +46,11 @@ static inline bool isTextureOp(operation op) return (op >= OP_TEX && op <= OP_TEXPREP); } +static inline bool isSurfaceOp(operation op) +{ + return (op >= OP_SULDB && op <= OP_SULEA); +} + static inline unsigned int typeSizeof(DataType ty) { switch (ty) { |