mesa/src/intel
Juan A. Suarez Romero 79af256388 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 <siglesias@igalia.com>
[ 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 <currojerez@riseup.net>
2017-04-14 14:56:07 -07:00
..
blorp intel/blorp: Add a blorp_emit_dynamic macro 2017-04-14 13:35:02 -07:00
common intel/gen_decoder: return -1 for unknown command formats 2017-04-06 13:26:08 -07:00
compiler i965/fs: add helper to retrieve instruction execution type 2017-04-14 14:56:07 -07:00
genxml intel/genxml/bits: Emit per-container _length helpers 2017-04-07 22:34:04 -07:00
isl anv: Use ISL for emitting depth/stencil/hiz 2017-04-10 07:57:21 -07:00
tools intel/aubinator: Stop searching after a custom handler is found 2017-04-06 13:26:08 -07:00
vulkan anv/blorp: Properly handle VK_ATTACHMENT_UNUSED 2017-04-14 14:20:42 -07:00
Android.blorp.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.common.mk android: intel: fix include paths in new "common" library 2016-09-03 20:03:16 -07:00
Android.compiler.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.genxml.mk android: intel: genxml: fix genX_xml.h generation rules 2017-04-04 09:10:46 +03:00
Android.isl.mk android: add libmesa_genxml as dep to libmesa_isl 2017-03-31 08:42:54 +03:00
Android.mk intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
Android.vulkan.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Makefile.am intel: automake: move INTEL_CFLAGS as applicable 2017-03-30 19:07:28 +01:00
Makefile.blorp.am blorp: automake: add TODO to the tarball 2017-02-24 17:37:00 +00:00
Makefile.common.am intel: automake: move INTEL_CFLAGS as applicable 2017-03-30 19:07:28 +01:00
Makefile.compiler.am intel/compiler: link all tests again gtest, even test_eu_compact" 2017-03-13 11:16:35 +00:00
Makefile.genxml.am intel: genxml: automake: include gen_bits_header.py in the tarball 2017-04-05 13:16:28 +01:00
Makefile.isl.am intel/isl: Stop linking libi965_compiler.la into tests 2017-03-13 11:16:33 +00:00
Makefile.sources intel/isl: Add support for emitting depth/stencil/hiz 2017-04-10 07:57:21 -07:00
Makefile.tools.am intel: tools: add aubinator_error_decode tool 2017-04-04 21:22:26 +01:00
Makefile.vulkan.am anv: automake: ensure that the destination directory is created 2017-03-24 12:02:04 +00:00