mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
gallium: remove polygon_offset_units_unscaled pipe cap
This was only used by nine. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35147>
This commit is contained in:
parent
282310e1fe
commit
bfeaf78922
5 changed files with 0 additions and 17 deletions
|
|
@ -120,12 +120,6 @@ offset_tri
|
|||
|
||||
offset_units
|
||||
Specifies the polygon offset bias
|
||||
offset_units_unscaled
|
||||
Specifies the unit of the polygon offset bias. If false, use the
|
||||
GL/D3D1X behavior. If true, offset_units is a floating point offset
|
||||
which isn't scaled (D3D9). Note that GL/D3D1X behavior has different
|
||||
formula whether the depth buffer is unorm or float, which is not
|
||||
the case for D3D9.
|
||||
offset_scale
|
||||
Specifies the polygon offset scale
|
||||
offset_clamp
|
||||
|
|
|
|||
|
|
@ -377,8 +377,6 @@ Capability about the features and limits of the driver/GPU.
|
|||
shaders.
|
||||
* ``pipe_caps.max_window_rectangles``: The maximum number of window rectangles
|
||||
supported in ``set_window_rectangles``.
|
||||
* ``pipe_caps.polygon_offset_units_unscaled``: If true, the driver implements support
|
||||
for ``pipe_rasterizer_state::offset_units_unscaled``.
|
||||
* ``pipe_caps.viewport_subpixel_bits``: Number of bits of subpixel precision for
|
||||
floating point viewport bounds.
|
||||
* ``pipe_caps.rasterizer_subpixel_bits``: Number of bits of subpixel precision used
|
||||
|
|
|
|||
|
|
@ -227,7 +227,6 @@ nv30_init_screen_caps(struct nv30_screen *screen)
|
|||
caps->cull_distance = false;
|
||||
caps->shader_group_vote = false;
|
||||
caps->max_window_rectangles = 0;
|
||||
caps->polygon_offset_units_unscaled = false;
|
||||
caps->viewport_subpixel_bits = 0;
|
||||
caps->mixed_color_depth_bits = 0;
|
||||
caps->shader_array_components = false;
|
||||
|
|
|
|||
|
|
@ -896,7 +896,6 @@ struct pipe_caps {
|
|||
bool robust_buffer_access_behavior;
|
||||
bool cull_distance;
|
||||
bool shader_group_vote;
|
||||
bool polygon_offset_units_unscaled;
|
||||
bool shader_array_components;
|
||||
bool stream_output_interleave_buffers;
|
||||
bool native_fence_fd;
|
||||
|
|
|
|||
|
|
@ -180,13 +180,6 @@ struct pipe_rasterizer_state
|
|||
*/
|
||||
unsigned clip_halfz:1;
|
||||
|
||||
/**
|
||||
* When true do not scale offset_units and use same rules for unorm and
|
||||
* float depth buffers (D3D9). When false use GL/D3D1X behaviour.
|
||||
* This depends on pipe_caps.polygon_offset_units_unscaled.
|
||||
*/
|
||||
unsigned offset_units_unscaled:1;
|
||||
|
||||
/**
|
||||
* Depth values output from fragment shader may be outside 0..1.
|
||||
* These have to be clamped for use with UNORM buffers.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue