mesa/src/mesa
Ian Romanick 378f996771 nir/opt_peephole_select: Don't peephole_select expensive math instructions
On some GPUs, especially older Intel GPUs, some math instructions are
very expensive.  On those architectures, don't reduce flow control to a
csel if one of the branches contains one of these expensive math
instructions.

This prevents a bunch of cycle count regressions on pre-Gen6 platforms
with a later patch (intel/compiler: More peephole select for pre-Gen6).

v2: Remove stray #if block.  Noticed by Thomas.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-12-17 13:47:06 -08:00
..
drivers i965/gen9: Add workarounds for object preemption. 2018-12-14 09:40:27 -08:00
main glapi: fixup EXT_multisampled_render_to_texture dispatch 2018-12-10 15:09:07 -08:00
math mesa: include mtypes.h less 2018-04-12 19:31:30 -04:00
program nir: Make boolean conversions sized just like the others 2018-12-05 15:03:07 -06:00
sparc tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
state_tracker nir/opt_peephole_select: Don't peephole_select expensive math instructions 2018-12-17 13:47:06 -08:00
swrast mesa/core: Add definitions and translations for EXT_texture_sRGB_R8 2018-11-02 11:52:44 +01:00
swrast_setup mesa: replace VP/FP/ATIfs _Enabled flags with helper functions 2017-06-22 01:51:02 +02:00
tnl mesa: Factor out struct gl_vertex_format. 2018-11-21 06:27:19 +01:00
tnl_dd mesa: replace ctx->Polygon._FrontBit with a helper function 2017-06-22 01:51:02 +02:00
vbo mesa: Factor out struct gl_vertex_format. 2018-11-21 06:27:19 +01:00
x86 mesa: fix x86 builds 2018-04-13 22:13:46 +10:00
x86-64
.gitignore
Android.gen.mk mesa: Fix Android build 2017-06-28 14:41:45 -07:00
Android.libmesa_dricore.mk intel: compiler option msse2 and mstackrealign 2018-09-07 13:45:46 +01:00
Android.libmesa_git_sha1.mk git_sha1: simplify logic 2018-08-16 17:38:31 +01:00
Android.libmesa_glsl_utils.mk
Android.libmesa_sse41.mk intel: compiler option msse2 and mstackrealign 2018-09-07 13:45:46 +01:00
Android.libmesa_st_mesa.mk svga: fix git_sha1.h include path in Android.mk (v3) 2017-06-15 15:46:44 +01:00
Android.mesa_gen_matypes.mk
Android.mk svga: fix git_sha1.h include path in Android.mk (v3) 2017-06-15 15:46:44 +01:00
gl.pc.in autotools: use correct gl.pc LIBS when using glvnd 2018-08-08 13:37:09 +01:00
Makefile.am configure: allow building with python3 2018-10-31 19:15:50 +00:00
Makefile.sources mesa/vbo: Move src/mesa/vbo/vbo_exec_array.c -> src/mesa/main/draw.c 2018-11-01 06:08:49 +01:00
meson.build mesa/vbo: Move src/mesa/vbo/vbo_exec_array.c -> src/mesa/main/draw.c 2018-11-01 06:08:49 +01:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00