X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fshader_info.h;h=53a0ef21f6f6891caad75a624197f22b0ba27ee0;hb=ffa15861ef7c924a33e1f2e75982c7648059979a;hp=f6dedb8d624c03986597e6953f68f6173c06b458;hpb=f63e05ae9ea0be38a8fb2dd0ae8f391b8699e757;p=mesa.git diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index f6dedb8d624..53a0ef21f6f 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -36,6 +36,7 @@ struct spirv_supported_capabilities { bool float64; bool image_ms_array; bool tessellation; + bool device_group; bool draw_parameters; bool image_read_without_format; bool image_write_without_format; @@ -43,6 +44,17 @@ struct spirv_supported_capabilities { bool multiview; bool variable_pointers; bool storage_16bit; + bool shader_viewport_index_layer; + bool subgroup_arithmetic; + bool subgroup_ballot; + bool subgroup_basic; + bool subgroup_quad; + bool subgroup_shuffle; + bool subgroup_vote; + bool gcn_shader; + bool trinary_minmax; + bool descriptor_array_dynamic_indexing; + bool runtime_descriptor_array; }; typedef struct shader_info { @@ -54,6 +66,11 @@ typedef struct shader_info { /** The shader stage, such as MESA_SHADER_VERTEX. */ gl_shader_stage stage; + /** The shader stage in a non SSO linked program that follows this stage, + * such as MESA_SHADER_FRAGMENT. + */ + gl_shader_stage next_stage; + /* Number of textures used by this shader */ unsigned num_textures; /* Number of uniform buffers used by this shader */ @@ -159,6 +176,8 @@ typedef struct shader_info { bool post_depth_coverage; + bool pixel_center_integer; + /** gl_FragDepth layout for ARB_conservative_depth. */ enum gl_frag_depth_layout depth_layout; } fs;