diff options
author | Jason Ekstrand <[email protected]> | 2019-01-07 10:28:23 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-07 18:41:15 -0600 |
commit | 05d72d6d480ef93bd8e43a47732c608dc5291b95 (patch) | |
tree | d18717c5048a61cd0c0045fffb13849a066c97e0 /src/mesa | |
parent | 34af63fa223f953336ecfdd429b13a8317d10046 (diff) |
spirv: Sort supported capabilities
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 6ba64e4e06d..505da9896b3 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -390,15 +390,15 @@ brw_initialize_spirv_supported_capabilities(struct brw_context *brw) */ assert(devinfo->gen >= 7); + ctx->Const.SpirVCapabilities.atomic_storage = devinfo->gen >= 7; + ctx->Const.SpirVCapabilities.draw_parameters = true; ctx->Const.SpirVCapabilities.float64 = devinfo->gen >= 8; + ctx->Const.SpirVCapabilities.geometry_streams = devinfo->gen >= 7; + ctx->Const.SpirVCapabilities.image_write_without_format = true; ctx->Const.SpirVCapabilities.int64 = devinfo->gen >= 8; ctx->Const.SpirVCapabilities.tessellation = true; - ctx->Const.SpirVCapabilities.draw_parameters = true; - 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; + ctx->Const.SpirVCapabilities.variable_pointers = true; } static void |