mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
intel/compiler: Add a few more helpers to fs_builder
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25216>
This commit is contained in:
parent
c0ecc0d70b
commit
21cf9323f0
1 changed files with 7 additions and 0 deletions
|
|
@ -833,6 +833,13 @@ namespace brw {
|
|||
|
||||
backend_shader *shader;
|
||||
|
||||
fs_inst *BREAK() { return emit(BRW_OPCODE_BREAK); }
|
||||
fs_inst *DO() { return emit(BRW_OPCODE_DO); }
|
||||
fs_inst *ENDIF() { return emit(BRW_OPCODE_ENDIF); }
|
||||
fs_inst *NOP() { return emit(BRW_OPCODE_NOP); }
|
||||
fs_inst *WHILE() { return emit(BRW_OPCODE_WHILE); }
|
||||
fs_inst *CONTINUE() { return emit(BRW_OPCODE_CONTINUE); }
|
||||
|
||||
private:
|
||||
/**
|
||||
* Workaround for negation of UD registers. See comment in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue