Module: Mesa
Branch: master
Commit: 3f91f4e2ab6cb720c8fe7e5151794ca8defa88c6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f91f4e2ab6cb720c8fe7e5151794ca8defa88c6

Author: Lionel Landwerlin <[email protected]>
Date:   Tue Aug  4 17:34:13 2020 +0300

nir: don't consider txf_ms_mcs a query instruction

Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6172>

---

 src/compiler/nir/nir.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 397e4f0a41a..4224835279b 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2369,7 +2369,6 @@ nir_tex_instr_is_query(const nir_tex_instr *instr)
    case nir_texop_lod:
    case nir_texop_texture_samples:
    case nir_texop_query_levels:
-   case nir_texop_txf_ms_mcs:
       return true;
    case nir_texop_tex:
    case nir_texop_txb:
@@ -2378,6 +2377,7 @@ nir_tex_instr_is_query(const nir_tex_instr *instr)
    case nir_texop_txf:
    case nir_texop_txf_ms:
    case nir_texop_txf_ms_fb:
+   case nir_texop_txf_ms_mcs:
    case nir_texop_tg4:
       return false;
    default:

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to