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

Author: Rob Clark <[email protected]>
Date:   Sun Sep 13 11:22:51 2015 -0400

freedreno/ir3: fix compile warn after 1807a08e

New enum to add to switch so compiler doesn't complain.

   commit 1807a08e4f35b014f2a80d1e88dd74a9f096d7a5
   Author:     Ilia Mirkin <[email protected]>
   AuthorDate: Thu Aug 27 23:05:03 2015 -0400
   Commit:     Ilia Mirkin <[email protected]>
   CommitDate: Thu Sep 10 17:38:33 2015 -0400

       nir: add nir_texop_texture_samples and convert from glsl

Signed-off-by: Rob Clark <[email protected]>

---

 src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c 
b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
index 071901a..5a069fb 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
@@ -1623,6 +1623,7 @@ emit_tex(struct ir3_compile *ctx, nir_tex_instr *tex)
        case nir_texop_lod:
        case nir_texop_tg4:
        case nir_texop_query_levels:
+       case nir_texop_texture_samples:
                compile_error(ctx, "Unhandled NIR tex type: %d\n", tex->op);
                return;
        }

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

Reply via email to