mesa/src/intel
Alejandro Piñeiro 2f8d6bd578 i965: expose BRW_OPCODE_[F32TO16/F16TO32] name on gen8+
Technically those hw operations are only available on gen7, as gen8+
support the conversion on the MOV. But, when using the builder to
implement nir operations (example: nir_op_fquantize2f16), it is not
needed to do the gen check. This check is done later, on the final
emission at brw_F32TO16 (brw_eu_emit), choosing between the MOV or the
specific operation accordingly.

So in the middle, during optimization phases those hw operations can
be around for gen8+ too.

Without this patch, several (at least 95) vulkan-cts quantize tests
crashes when using INTEL_DEBUG=optimizer. For example:
dEQP-VK.spirv_assembly.instruction.graphics.opquantize.too_small_vert

v2: simplify the code using GEN_GE (Ilia Mirkin)
v3: tweak brw_instruction_name instead of changing opcode_descs
    table, that is used for validation (Matt Turner)

Reviewed-by: Matt Turner <mattst88@gmail.com>
2017-03-29 17:34:15 +02:00
..
blorp intel: Fix requests for exact surface row pitch (v2) 2017-03-28 09:44:44 -07:00
common intel/common: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
compiler i965: expose BRW_OPCODE_[F32TO16/F16TO32] name on gen8+ 2017-03-29 17:34:15 +02:00
genxml genxml: New generated header genX_bits.h (v6) 2017-03-28 09:44:44 -07:00
isl isl: Drop unused isl_surf_init_info::min_pitch 2017-03-28 09:44:44 -07:00
tools intel: Move tools/decoder.[ch] to common/gen_decoder.[ch]. 2017-03-21 13:49:10 -07:00
vulkan anv/cmd_buffer: Refactor flush_pipeline_select_* 2017-03-28 14:57:09 -07:00
Android.blorp.mk i965: Move the back-end compiler to src/intel/compiler 2017-03-13 11:16:34 +00:00
Android.common.mk android: intel: fix include paths in new "common" library 2016-09-03 20:03:16 -07:00
Android.compiler.mk android: add src/intel/compiler to libmesa_intel_compiler includes 2017-03-14 07:48:22 +02:00
Android.genxml.mk genxml: New generated header genX_bits.h (v6) 2017-03-28 09:44:44 -07:00
Android.isl.mk i965: Move the back-end compiler to src/intel/compiler 2017-03-13 11:16:34 +00:00
Android.mk intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
Android.vulkan.mk android: fix vulkan build issues with anv_entrypoints 2017-03-23 14:04:44 +02:00
Makefile.am intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
Makefile.blorp.am blorp: automake: add TODO to the tarball 2017-02-24 17:37:00 +00:00
Makefile.common.am intel: move gen_decoder.* to DECODER_FILES 2017-03-23 14:05:19 +02: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 genxml: New generated header genX_bits.h (v6) 2017-03-28 09:44:44 -07:00
Makefile.isl.am intel/isl: Stop linking libi965_compiler.la into tests 2017-03-13 11:16:33 +00:00
Makefile.sources genxml: New generated header genX_bits.h (v6) 2017-03-28 09:44:44 -07:00
Makefile.tools.am intel: Move tools/decoder.[ch] to common/gen_decoder.[ch]. 2017-03-21 13:49:10 -07:00
Makefile.vulkan.am anv: automake: ensure that the destination directory is created 2017-03-24 12:02:04 +00:00