raze-gles/polymer/eduke32
helixhorned 3753d45601 a-c.c: prevent stray lines on bottom of sprites by saturating v. tex coords.
The functions mvlineasm1, mvlineasm4 and tvlineasm2 can now be set to clamp
the vertical texture coordinate (vplc), preventing the unsightly stray lines
on the bottom of non-y-flipped sprites. (The first part of this effort, r3483,
handled their top).

However, this is only enabled for the mvlineasm ones: the vectorized variants
suffered almost no slowdown (even though a PADDUSD SSE instruction would be a
nice thing to have), while it was pretty significant for the sequential
translucent ones.

Summarizing, this leaves two cases where stray lines may appear in the non-ASM
build (the saturation is NYI for a.nasm):
- at the bottom of y-flipped sprites
- at the bottom of translucent sprites (can be toggled by #define)

Another observation is that recent GCC generates much faster code for this
stuff than Clang from SVN.

git-svn-id: https://svn.eduke32.com/eduke32@4161 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-16 18:47:11 +00:00
..
build a-c.c: prevent stray lines on bottom of sprites by saturating v. tex coords. 2013-11-16 18:47:11 +00:00
jit Lunatic: add LuaJIT's jit/bcsave.lua and headers for synthesis build preparation. 2013-08-11 15:28:45 +00:00
package Sweeping modifications to synthesis and the package directory structure so that every potential binary is in its own package. 2013-11-04 03:59:26 +00:00
platform Update SDL2 to 2.0.1. 2013-11-02 01:41:45 +00:00
rsrc Iron out all errors and warnings when compiling with MinGW-w64, targeting either 32-bit or 64-bit. 2013-10-07 10:03:11 +00:00
source LunaCON: for gamevar-already-defined warnings/errors, show old location. 2013-11-12 21:03:23 +00:00
eduke32.sln Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
eduke32.vcxproj Add Lunatic stuff to the Visual Studio project. This is just the file view in the IDE, not Lunatic compilation with MSVC! DONT_BUILD. 2013-08-24 22:55:23 +00:00
eduke32.vcxproj.filters Add Lunatic stuff to the Visual Studio project. This is just the file view in the IDE, not Lunatic compilation with MSVC! DONT_BUILD. 2013-08-24 22:55:23 +00:00
Makefile Lunatic: add 'fs' module containing 'listpath' function, 'd' in global env. 2013-11-11 16:48:23 +00:00
Makefile.common Lunatic: make it possible to build with LuaJIT 2.1, add -Lopts=profile there. 2013-10-16 19:43:06 +00:00
Makefile.deps Replace literal g_sounds[].m bits with enum constants. DONT_BUILD. 2013-09-08 20:18:56 +00:00
Makefile.msvc Dynamicsoundremap. 2013-06-01 06:55:30 +00:00