mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
i965: Delete sampler state structures.
We've moved to using bitshifts (like we did for surface state); nothing uses the structures anymore. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
b8c2538e17
commit
8ccae4fe28
1 changed files with 0 additions and 99 deletions
|
|
@ -598,105 +598,6 @@ struct gen5_sampler_default_color {
|
|||
uint8_t b[4];
|
||||
};
|
||||
|
||||
struct brw_sampler_state
|
||||
{
|
||||
|
||||
struct
|
||||
{
|
||||
unsigned shadow_function:3;
|
||||
unsigned lod_bias:11;
|
||||
unsigned min_filter:3;
|
||||
unsigned mag_filter:3;
|
||||
unsigned mip_filter:2;
|
||||
unsigned base_level:5;
|
||||
unsigned min_mag_neq:1;
|
||||
unsigned lod_preclamp:1;
|
||||
unsigned default_color_mode:1;
|
||||
unsigned pad0:1;
|
||||
unsigned disable:1;
|
||||
} ss0;
|
||||
|
||||
struct
|
||||
{
|
||||
unsigned r_wrap_mode:3;
|
||||
unsigned t_wrap_mode:3;
|
||||
unsigned s_wrap_mode:3;
|
||||
unsigned cube_control_mode:1;
|
||||
unsigned pad:2;
|
||||
unsigned max_lod:10;
|
||||
unsigned min_lod:10;
|
||||
} ss1;
|
||||
|
||||
|
||||
struct
|
||||
{
|
||||
unsigned pad:5;
|
||||
unsigned default_color_pointer:27;
|
||||
} ss2;
|
||||
|
||||
struct
|
||||
{
|
||||
unsigned non_normalized_coord:1;
|
||||
unsigned pad:12;
|
||||
unsigned address_round:6;
|
||||
unsigned max_aniso:3;
|
||||
unsigned chroma_key_mode:1;
|
||||
unsigned chroma_key_index:2;
|
||||
unsigned chroma_key_enable:1;
|
||||
unsigned monochrome_filter_width:3;
|
||||
unsigned monochrome_filter_height:3;
|
||||
} ss3;
|
||||
};
|
||||
|
||||
struct gen7_sampler_state
|
||||
{
|
||||
struct
|
||||
{
|
||||
unsigned aniso_algorithm:1;
|
||||
unsigned lod_bias:13;
|
||||
unsigned min_filter:3;
|
||||
unsigned mag_filter:3;
|
||||
unsigned mip_filter:2;
|
||||
unsigned base_level:5;
|
||||
unsigned pad1:1;
|
||||
unsigned lod_preclamp:1;
|
||||
unsigned default_color_mode:1;
|
||||
unsigned pad0:1;
|
||||
unsigned disable:1;
|
||||
} ss0;
|
||||
|
||||
struct
|
||||
{
|
||||
unsigned cube_control_mode:1;
|
||||
unsigned shadow_function:3;
|
||||
unsigned pad:4;
|
||||
unsigned max_lod:12;
|
||||
unsigned min_lod:12;
|
||||
} ss1;
|
||||
|
||||
struct
|
||||
{
|
||||
unsigned pad:5;
|
||||
unsigned default_color_pointer:27;
|
||||
} ss2;
|
||||
|
||||
struct
|
||||
{
|
||||
unsigned r_wrap_mode:3;
|
||||
unsigned t_wrap_mode:3;
|
||||
unsigned s_wrap_mode:3;
|
||||
unsigned pad:1;
|
||||
unsigned non_normalized_coord:1;
|
||||
unsigned trilinear_quality:2;
|
||||
unsigned address_round:6;
|
||||
unsigned max_aniso:3;
|
||||
unsigned chroma_key_mode:1;
|
||||
unsigned chroma_key_index:2;
|
||||
unsigned chroma_key_enable:1;
|
||||
unsigned pad0:6;
|
||||
} ss3;
|
||||
};
|
||||
|
||||
struct brw_clipper_viewport
|
||||
{
|
||||
float xmin;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue