diff --git a/docs/gallium/screen.rst b/docs/gallium/screen.rst index 79d24d4de47..edc9729dd87 100644 --- a/docs/gallium/screen.rst +++ b/docs/gallium/screen.rst @@ -558,7 +558,6 @@ Capability about the features and limits of the driver/GPU. functionality is supported. * ``pipe_caps.atomic_float_minmax``: Atomic float point minimum, maximum, exchange and compare-and-swap support to buffer and shared variables. -* ``pipe_caps.tgsi_div``: Whether opcode DIV is supported * ``pipe_caps.dithering``: Whether dithering is supported * ``pipe_caps.fragment_shader_texture_lod``: Whether texture lookups with explicit LOD is supported in the fragment shader. diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 1cfbf0282da..647865bf612 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -304,7 +304,6 @@ llvmpipe_init_screen_caps(struct pipe_screen *screen) caps->doubles = true; caps->int64 = true; caps->query_so_overflow = true; - caps->tgsi_div = true; caps->vendor_id = 0xFFFFFFFF; caps->device_id = 0xFFFFFFFF; diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c index e1f6611bbd0..b189dd654c2 100644 --- a/src/gallium/drivers/nouveau/nv30/nv30_screen.c +++ b/src/gallium/drivers/nouveau/nv30/nv30_screen.c @@ -264,7 +264,6 @@ nv30_init_screen_caps(struct nv30_screen *screen) caps->max_conservative_raster_subpixel_precision_bias = false; caps->programmable_sample_locations = false; caps->image_load_formatted = false; - caps->tgsi_div = false; caps->image_atomic_inc_wrap = false; caps->image_store_formatted = false; diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c index 22fe7d8a053..7cdcad3abf6 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c @@ -273,7 +273,6 @@ nv50_init_screen_caps(struct nv50_screen *screen) caps->tgsi_tex_txf_lz = true; caps->shader_clock = true; caps->can_bind_const_buffer_as_vertex = true; - caps->tgsi_div = true; caps->clear_scissored = true; caps->framebuffer_no_attachment = true; caps->compute = true; diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 6a7796d1aaf..5bec668fe1b 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -324,7 +324,6 @@ nvc0_init_screen_caps(struct nvc0_screen *screen) caps->compute = true; caps->can_bind_const_buffer_as_vertex = true; caps->query_so_overflow = true; - caps->tgsi_div = true; caps->image_atomic_inc_wrap = true; caps->demote_to_helper_invocation = true; caps->device_reset_status_query = true; diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index b4308c04bce..e5ce0ed6577 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -1121,7 +1121,6 @@ void si_init_screen_caps(struct si_screen *sscreen) caps->compute_grid_info_last_block = true; caps->image_load_formatted = true; caps->prefer_compute_for_multimedia = true; - caps->tgsi_div = true; caps->packed_uniforms = true; caps->gl_spirv = true; caps->alpha_to_coverage_dither_control = true; diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index a5f711bea51..c6471b3efae 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -318,7 +318,6 @@ softpipe_init_screen_caps(struct softpipe_screen *sp_screen) caps->vs_layer_viewport = true; caps->doubles = true; caps->int64 = true; - caps->tgsi_div = true; caps->constant_buffer_offset_alignment = 16; caps->min_map_buffer_alignment = 64; caps->query_timestamp = true; diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 730800b5f9a..99c1e82b3dd 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -532,7 +532,6 @@ svga_init_screen_caps(struct svga_screen *svgascreen) caps->doubles = sws->have_sm5; caps->uma = false; caps->allow_mapped_buffers_during_execution = false; - caps->tgsi_div = true; caps->max_gs_invocations = 32; caps->max_shader_buffer_size = 1 << 27; /* Verify this once protocol is finalized. Setting it to minimum value. */ diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 0cc7fbf1afc..ca48ade3f06 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -943,7 +943,6 @@ struct pipe_caps { bool fragment_shader_interlock; bool fbfetch_coherent; bool atomic_float_minmax; - bool tgsi_div; bool fragment_shader_texture_lod; bool fragment_shader_derivatives; bool texture_shadow_lod;