aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-11 09:55:18 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-12 14:32:07 -0700
commit5062b612be79fad82b4f1b4adf4c30824cb6cff8 (patch)
tree512dc7ef52863ed53b28fe59d2b11de670a8f667 /src/gallium
parent4ea512844c2c06f1d59f5bae5a6e80b67804361d (diff)
panfrost/midgard: Assert on unknown texture source
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/panfrost/midgard/midgard_compile.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/midgard_compile.c b/src/gallium/drivers/panfrost/midgard/midgard_compile.c
index 4bddea40fdb..6761b276814 100644
--- a/src/gallium/drivers/panfrost/midgard/midgard_compile.c
+++ b/src/gallium/drivers/panfrost/midgard/midgard_compile.c
@@ -1394,11 +1394,8 @@ emit_tex(compiler_context *ctx, nir_tex_instr *instr)
break;
};
- default: {
- DBG("Unknown source type\n");
- //assert(0);
- break;
- }
+ default:
+ unreachable("Unknown texture source type\n");
}
}