nvc0: enable very initial support for nvf0 (GK110)
[mesa.git] / src / gallium / drivers / nvc0 / codegen / nv50_ir_target_nvc0.cpp
index 588baa8bc878af7955bef2c1d8e0319e58f37ad8..2dd7fd22aa4712bc877b777d29a73f520e16433d 100644 (file)
@@ -351,7 +351,14 @@ TargetNVC0::isAccessSupported(DataFile file, DataType ty) const
    if (file == FILE_MEMORY_CONST && getChipset() >= 0xe0) // wrong encoding ?
       return typeSizeof(ty) <= 8;
    if (ty == TYPE_B96)
-      return (file == FILE_SHADER_INPUT) || (file == FILE_SHADER_OUTPUT);
+      return false;
+   if (getChipset() >= 0xf0) {
+      // XXX: find wide vfetch/export
+      if (ty == TYPE_B128)
+         return false;
+      if (ty == TYPE_U64)
+         return false;
+   }
    return true;
 }