mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i965/nir/vec4: Implement loop statements (nir_cf_node_loop)
This is taken as-is from fs_nir. Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
5c0436dbf8
commit
afe085a0ca
1 changed files with 5 additions and 1 deletions
|
|
@ -302,7 +302,11 @@ vec4_visitor::nir_emit_if(nir_if *if_stmt)
|
|||
void
|
||||
vec4_visitor::nir_emit_loop(nir_loop *loop)
|
||||
{
|
||||
/* @TODO: Not yet implemented */
|
||||
emit(BRW_OPCODE_DO);
|
||||
|
||||
nir_emit_cf_list(&loop->body);
|
||||
|
||||
emit(BRW_OPCODE_WHILE);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue