Module: Mesa
Branch: main
Commit: 12edaae64ab916f157c4a691f5e607ab0fee9329
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=12edaae64ab916f157c4a691f5e607ab0fee9329

Author: Alyssa Rosenzweig <[email protected]>
Date:   Fri Mar 18 13:39:02 2022 -0400

pan/bi: Add .shadow modifier to TEX_GATHER

Although TEX_GATHER looks like TEX_FETCH, it does support shadow comparators
like TEX_SINGLE. Model this in the IR so we can use it.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15586>

---

 src/panfrost/bifrost/ISA.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/panfrost/bifrost/ISA.xml b/src/panfrost/bifrost/ISA.xml
index 0ae1fba0d34..0d3b4fae3c6 100644
--- a/src/panfrost/bifrost/ISA.xml
+++ b/src/panfrost/bifrost/ISA.xml
@@ -8517,6 +8517,7 @@
     <immediate name="sr_count" size="4" pseudo="true"/>
     <mod name="texel_offset" start="9" size="1" opt="texel_offset"/>
     <mod name="skip" start="9" size="1" opt="skip"/>
+    <mod name="shadow" start="9" size="1" opt="shadow"/>
     <mod name="array_enable" start="9" size="1" opt="array_enable"/>
     <mod name="integer_coordinates" start="9" size="1" 
opt="integer_coordinates"/>
     <mod name="fetch_component" start="9" size="2">

Reply via email to