mesa/src
Roland Scheidegger f6718baabc tgsi: Recognize RET in main for tgsi_transform
Shaders coming from dx10 state trackers have a RET before the END.
And the epilog needs to be placed before the RET (otherwise it will
get ignored).
Hence figure out if a RET is in main, in this case we'll place
the epilog there rather than before the END.
(At a closer look, there actually seem to be problems with control
flow in general with output redirection, that would need another
look. It's enough however to fix draw's aa line emulation in some
internal bug - lines tend to be drawn with trivial shaders, moving
either a constant color or a vertex color directly to the output).

v2: add assert so buggy handling of RET in main is detected

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2018-02-14 02:06:54 +01:00
..
amd ac: Use the renumbered const address space for LLVM 7. 2018-02-14 01:05:03 +01:00
broadcom broadcom/vc5: Fix "hardwrae" typo in a field name in XML. 2018-02-05 13:53:38 +00:00
compiler mesa: move STATE_LENGTH to shader_enums.h and use it everywhere 2018-02-13 01:00:45 +01:00
egl egl/gbm: Fix compiler warning about visual matching. 2018-02-12 09:16:44 +00:00
gallium tgsi: Recognize RET in main for tgsi_transform 2018-02-14 02:06:54 +01:00
gbm gbm/dri: Expose visuals table through gbm_dri_device 2018-02-09 16:17:16 +00:00
getopt
glx meson: build src/glx/apple 2018-02-05 19:40:43 +00:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl
intel anv: Move setting current_pipeline to cmd_state_init 2018-02-12 15:18:23 -08:00
loader loader: let compiler figure out the length of the string 2018-01-25 11:40:25 +00:00
mapi mesa: add glsl version query (v4) 2018-02-13 13:24:31 -07:00
mesa mesa: add glsl version query (v4) 2018-02-13 13:24:31 -07:00
util disk cache: move path creation back to constructor 2018-02-09 11:33:25 +02:00
vulkan vulkan/wsi: Fix OOM behavior with prime images. 2018-02-06 21:52:39 +01:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: define inc_gbm as empty if not otherwise assigned 2018-01-11 15:40:02 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00