summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2015-09-13 11:22:51 -0400
committerRob Clark <robclark@freedesktop.org>2015-09-13 11:31:45 -0400
commit59519c2283e91ce4b8c2028673d6d8dc4ee5138f (patch)
treeb466b8b68ddef3e27a698d5e8fd15f9865b9f966 /src/gallium
parentbf45a7d28e7934463ee465b613a9101259520e13 (diff)
downloadexternal_mesa3d-59519c2283e91ce4b8c2028673d6d8dc4ee5138f.zip
external_mesa3d-59519c2283e91ce4b8c2028673d6d8dc4ee5138f.tar.gz
external_mesa3d-59519c2283e91ce4b8c2028673d6d8dc4ee5138f.tar.bz2
freedreno/ir3: fix compile warn after 1807a08e
New enum to add to switch so compiler doesn't complain. commit 1807a08e4f35b014f2a80d1e88dd74a9f096d7a5 Author: Ilia Mirkin <imirkin@alum.mit.edu> AuthorDate: Thu Aug 27 23:05:03 2015 -0400 Commit: Ilia Mirkin <imirkin@alum.mit.edu> CommitDate: Thu Sep 10 17:38:33 2015 -0400 nir: add nir_texop_texture_samples and convert from glsl Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c1
1 files changed, 1 insertions, 0 deletions
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;
}