summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2018-07-13 13:35:38 +0200
committerAlejandro Piñeiro <[email protected]>2018-07-31 13:33:37 +0200
commit16b5e15e918a1b3a466aff23209c94ae9b78149b (patch)
tree72610a8fb16804ad0b46b185f14ea47cc2994c42
parentb7421cda8603ff53b641f27d2262a51415c1fe69 (diff)
i965: enable XFB and GeometryStreams for gen7+
Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 968fc1d43d6..136f1325c6e 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -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