iris: assert about passthrough shaders to make this easier to detect
otherwise it just silently fails and looks like some obscure problem
This commit is contained in:
@@ -432,6 +432,10 @@ iris_update_compiled_tcs(struct iris_context *ice)
|
||||
{
|
||||
struct iris_uncompiled_shader *tcs =
|
||||
ice->shaders.uncompiled[MESA_SHADER_TESS_CTRL];
|
||||
struct iris_uncompiled_shader *tes =
|
||||
ice->shaders.uncompiled[MESA_SHADER_TESS_EVAL];
|
||||
|
||||
assert(!(tes && !tcs));
|
||||
|
||||
if (!tcs)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user