mesa/src
Alejandro Piñeiro d038deaa40 i965/fs: Add remove_extra_rounding_modes optimization
Although from SPIR-V point of view, rounding modes are attached to the
operation/destination, on i965 it is a status, so we don't need to
explicitly set the rounding mode if the one we want is already set.

Taking into account that the default mode is RTE, one possible
optimization would be optimize out the first RTE set for each
block. For in order to work, we would need to take into account block
interrelationships. At this point, it is not worth to complicate the
optimization for such small gain.

v2: Use a single SHADER_OPCODE_RND_MODE opcode taking an immediate
    with the rounding mode (Curro)
v3: Reset optimization for every block. (Jason Ekstrand)

Signed-off-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2017-12-06 08:57:18 +01:00
..
amd radv: fix a crash in radv_can_dump_shader() 2017-12-04 19:52:14 +01:00
broadcom broadcom/vc4: Use the new enum functionality of the XML to decode better. 2017-12-01 15:37:28 -08:00
compiler spirv/nir: Add support for SPV_KHR_16bit_storage 2017-12-06 08:57:18 +01:00
egl meson: fix underlinkage without dri3 2017-12-04 13:15:02 -08:00
gallium freedreno/a5xx: hide ARB_base_instance 2017-12-05 16:16:18 -05:00
gbm wayland-drm: static inline wayland_drm_buffer_get 2017-11-08 14:40:12 +00:00
getopt
glx meson: fix underlinkage without dri3 2017-12-04 13:15:02 -08:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel i965/fs: Add remove_extra_rounding_modes optimization 2017-12-06 08:57:18 +01:00
loader meson: Fix overlinkage of dri3 loader 2017-12-04 13:15:13 -08:00
mapi meson: fix generated source inclusion on macOS and Windows 2017-11-30 15:09:21 +00:00
mesa mesa/st: Handle 16-bit types at st_glsl_storage_type_size() 2017-12-06 08:57:18 +01:00
util util: Add a NORETURN macro 2017-12-04 09:21:09 -08:00
vulkan vulkan/wsi: Initialize individual WSI interfaces in wsi_device_init 2017-12-04 10:04:19 -08:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am wayland-drm: static inline wayland_drm_buffer_get 2017-11-08 14:40:12 +00:00
meson.build meson: build r600 driver 2017-11-28 14:06:33 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00