mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
asahi: Identify minimum/maximum LOD fields
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14903>
This commit is contained in:
parent
6554790dfb
commit
cc3e98e201
2 changed files with 2 additions and 3 deletions
|
|
@ -236,8 +236,8 @@
|
|||
</enum>
|
||||
|
||||
<struct name="Sampler" size="8">
|
||||
<field name="Unk 1" size="2" start="17" type="hex" default="3"/>
|
||||
<field name="Unk 2" size="1" start="19" type="bool" default="true"/>
|
||||
<field name="Minimum LOD" size="10" start="0" type="lod" default="0.0"/>
|
||||
<field name="Maximum LOD" size="10" start="10" type="lod" default="INFINITY"/>
|
||||
<field name="Magnify linear" size="1" start="23" type="bool"/>
|
||||
<field name="Minify linear" size="1" start="25" type="bool"/>
|
||||
<field name="Mip filter" size="2" start="27" type="Mip filter"/>
|
||||
|
|
|
|||
|
|
@ -1218,7 +1218,6 @@ agx_build_reload_pipeline(struct agx_context *ctx, uint32_t code, struct pipe_su
|
|||
cfg.wrap_r = AGX_WRAP_CLAMP_TO_EDGE;
|
||||
cfg.pixel_coordinates = true;
|
||||
cfg.compare_func = AGX_COMPARE_FUNC_ALWAYS;
|
||||
cfg.unk_2 = 0;
|
||||
cfg.unk_3 = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue