mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
i965/vs: Remove unnecessary NULL check on generate_code() result.
Code generation is not allowed to fail for any reason - in fact, fs_generator has no mechanism for failing. The visitor is responsible for that. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
d795cc6508
commit
dffc1a0ae3
1 changed files with 1 additions and 2 deletions
|
|
@ -1868,8 +1868,7 @@ brw_vs_emit(struct brw_context *brw,
|
|||
g.generate_code(v.cfg, 8);
|
||||
assembly = g.get_assembly(final_assembly_size);
|
||||
|
||||
if (assembly)
|
||||
prog_data->base.simd8 = true;
|
||||
prog_data->base.simd8 = true;
|
||||
c->base.last_scratch = v.last_scratch;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue