mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
nv50/ir: Fail if encountering unknown shader type
Signed-off-by: Pierre Moreau <pierre.morrow@free.fr> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
c297e68828
commit
b490ca9a38
1 changed files with 2 additions and 2 deletions
|
|
@ -1214,8 +1214,8 @@ nv50_ir_generate_code(struct nv50_ir_prog_info *info)
|
|||
PROG_TYPE_CASE(FRAGMENT, FRAGMENT);
|
||||
PROG_TYPE_CASE(COMPUTE, COMPUTE);
|
||||
default:
|
||||
type = nv50_ir::Program::TYPE_COMPUTE;
|
||||
break;
|
||||
INFO_DBG(info->dbgFlags, VERBOSE, "unsupported program type %u\n", type);
|
||||
return -1;
|
||||
}
|
||||
INFO_DBG(info->dbgFlags, VERBOSE, "translating program of type %u\n", type);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue