diff options
author | Juan A. Suarez Romero <[email protected]> | 2016-07-18 07:17:39 +0000 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2017-04-14 14:56:07 -0700 |
commit | 79af2563889098550de5d4a0955efbeb87a24565 (patch) | |
tree | 6481bb265d63dfdd9194be00663bdfb32b3a5752 /src/egl/main/eglsurface.c | |
parent | fd349d29e43fa9c2227cbf649282810782ecf555 (diff) |
i965/fs: add helper to retrieve instruction execution type
The execution data size is the biggest type size of any instruction
operand.
We will use it to know if the instruction deals with DF, because in Ivy
we need to double the execution size and regioning parameters.
v2:
- Fix typo in commit log (Matt)
- Use static inline function instead of fs_inst's method (Curro).
- Define the result as a constant (Curro).
- Fix indentation (Matt).
- Add braces to nested control flow (Matt).
v3 (Curro):
- Add get_exec_type() and other auxiliary functions and use them to
calculate its size.
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
[ Francisco Jerez: Fix bogus 'type != BAD_FILE' check. Fix deduced
execution type for integer vector types. Take destination type as
execution type where there is no valid source. Assert-fail if the
deduced execution type is byte. Move into brw_ir_fs.h header for
consistency with the VEC4 back-end. ]
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/egl/main/eglsurface.c')
0 files changed, 0 insertions, 0 deletions