mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
freedreno: assume builtin shaders do compile
Maybe we should switch to ureg to build the builtin shaders. But at any rate, if they fail to compile it is because someone messed them up (or changed TGSI syntax?). CID 1362444 Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
060c8d245d
commit
676c77a923
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ static void * assemble_tgsi(struct pipe_context *pctx,
|
|||
.tokens = toks,
|
||||
};
|
||||
|
||||
tgsi_text_translate(src, toks, ARRAY_SIZE(toks));
|
||||
bool ret = tgsi_text_translate(src, toks, ARRAY_SIZE(toks));
|
||||
assume(ret);
|
||||
|
||||
if (frag)
|
||||
return pctx->create_fs_state(pctx, &cso);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue