From 59519c2283e91ce4b8c2028673d6d8dc4ee5138f Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sun, 13 Sep 2015 11:22:51 -0400 Subject: freedreno/ir3: fix compile warn after 1807a08e New enum to add to switch so compiler doesn't complain. commit 1807a08e4f35b014f2a80d1e88dd74a9f096d7a5 Author: Ilia Mirkin AuthorDate: Thu Aug 27 23:05:03 2015 -0400 Commit: Ilia Mirkin CommitDate: Thu Sep 10 17:38:33 2015 -0400 nir: add nir_texop_texture_samples and convert from glsl Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 071901a3cc7..5a069fb5378 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; } -- cgit v1.2.3