mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
panfrost: Rename VARYING_DISCARD to CONSTANT
Used for data that does not exist. If used for a load, it is a zero-components read (so you can use a 0000 or 0001 swizzle) that does not touch memory. If used as a store, writes are simply discarded. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by: Christian Hewitt <christianshewitt@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7352>
This commit is contained in:
parent
c6bdd976e6
commit
1b5cac4511
2 changed files with 2 additions and 2 deletions
|
|
@ -1476,7 +1476,7 @@ static void
|
|||
pan_emit_vary_only(struct mali_attribute_packed *out,
|
||||
unsigned present, unsigned quirks)
|
||||
{
|
||||
pan_emit_vary(out, present, 0, quirks, MALI_VARYING_DISCARD, 0);
|
||||
pan_emit_vary(out, present, 0, quirks, MALI_CONSTANT, 0);
|
||||
}
|
||||
|
||||
/* Special records */
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@
|
|||
<!--- Format 93 avaible v7+. On Midgard, acts as a RG16F + snap -->
|
||||
<value name="S8" value="93"/>
|
||||
<value name="VARYING POS" value="94"/>
|
||||
<value name="VARYING DISCARD" value="95"/>
|
||||
<value name="Constant" value="95"/>
|
||||
<value name="R8 SNORM" value="99"/>
|
||||
<value name="R16 SNORM" value="100"/>
|
||||
<value name="R32 SNORM" value="101"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue