i965: enable XFB and GeometryStreams for gen7+
authorAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 13 Jul 2018 11:35:38 +0000 (13:35 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 31 Jul 2018 11:33:37 +0000 (13:33 +0200)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/drivers/dri/i965/brw_context.c

index 968fc1d43d66d97f1958215f5e0ae6b20e217e3a..136f1325c6ebd364c353024c55fd21957407dd6f 100644 (file)
@@ -368,6 +368,8 @@ brw_initialize_spirv_supported_capabilities(struct brw_context *brw)
    ctx->Const.SpirVCapabilities.image_write_without_format = true;
    ctx->Const.SpirVCapabilities.variable_pointers = true;
    ctx->Const.SpirVCapabilities.atomic_storage = devinfo->gen >= 7;
+   ctx->Const.SpirVCapabilities.transform_feedback = devinfo->gen >= 7;
+   ctx->Const.SpirVCapabilities.geometry_streams = devinfo->gen >= 7;
 }
 
 static void