mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 09:00:08 +01:00
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:
parent
5e19885d5a
commit
5bd861de8b
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue