case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
return (class_3d >= NVE4_3D_CLASS) ? 1 : 0;
case PIPE_CAP_COMPUTE:
+ if (debug_get_bool_option("NVF0_COMPUTE", false))
+ return 1;
return (class_3d <= NVE4_3D_CLASS) ? 1 : 0;
case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ? 1 : 0;
return 0;
break;
case PIPE_SHADER_COMPUTE:
- if (class_3d > NVE4_3D_CLASS)
- return 0;
+ if (!debug_get_bool_option("NVF0_COMPUTE", false))
+ if (class_3d > NVE4_3D_CLASS)
+ return 0;
break;
default:
return 0;
case 0xf0:
case 0x100:
case 0x110:
+ if (debug_get_bool_option("NVF0_COMPUTE", false))
+ return nve4_screen_compute_setup(screen, screen->base.pushbuf);
case 0x120:
return 0;
default: