Commit graph

226 commits

Author SHA1 Message Date
Magnus Norddahl
9a529192b0 Switch to the lower precision rsqrtss instruction as it is faster, especially on older Intel architectures and on AMD 2016-12-22 21:21:57 +01:00
Rachael Alexanderson
ea1aeb3cdc - reversed sub and revsub in LLVM drawers 2016-12-22 03:35:59 -05:00
Magnus Norddahl
62724c2161 Fix light color indexing bug 2016-12-22 08:50:52 +01:00
Magnus Norddahl
4f7c1dfdf5 Dynamic lights on flats 2016-12-22 08:42:21 +01:00
Magnus Norddahl
6fe124d937 Fixed TriLight struct declaration bug 2016-12-21 18:48:26 +01:00
Magnus Norddahl
4e56c9a41a Hooked up dynamic light on walls 2016-12-21 07:33:28 +01:00
Magnus Norddahl
8a3db6c003 Dynamic lights? Did anyone say DYNAMIC LIGHTS? 2016-12-20 23:21:34 +01:00
Rachael Alexanderson
5ffee5231f - Hooking the new RGB256k drawer to triangle drawer in place of RGB32k. 2016-12-19 11:35:43 -05:00
Magnus Norddahl
afe5d0fcdc Simplify light calculation slightly 2016-12-17 04:24:28 +01:00
Magnus Norddahl
ddb18d8e32 Add dynamic colormaps support 2016-12-17 02:10:52 +01:00
Magnus Norddahl
e1a8749586 Wrong type 2016-12-16 19:28:25 +01:00
Magnus Norddahl
9302b3b8bf Fix 64 bit building 2016-12-16 19:09:17 +01:00
Magnus Norddahl
a360a1963f Move setup triangle stuff to its own file 2016-12-16 15:25:03 +01:00
Magnus Norddahl
6d295a25c2 Minor tweaking 2016-12-16 06:21:17 +01:00
Magnus Norddahl
99435f5018 Remove TriDrawVariant from LLVM codegen 2016-12-15 23:29:31 +01:00
Magnus Norddahl
823dc6ea00 Clamp RGB values in pal mode 2016-12-15 02:39:55 +01:00
Magnus Norddahl
c643238b86 Rewrote the LLVM triangle drawer to use the data from the triangle setup function 2016-12-15 01:33:26 +01:00
Magnus Norddahl
86c1bbcdeb Split drawergen file into more files 2016-12-04 18:19:01 +01:00
Magnus Norddahl
2e1e202812 Add linear filtering 2016-12-04 05:52:13 +01:00
Rachael Alexanderson
fc2ae9ecc3 Delete DelLLVMCache.cmd
This file is now vestigial and no longer needed.
2016-12-03 02:18:29 -05:00
Magnus Norddahl
dbacb75617 Capped sky rendering 2016-12-03 06:58:06 +01:00
Magnus Norddahl
fc16f6bbbc Further improve early stencil rejection test by restoring stencil blocks to a single value if possible 2016-12-01 13:31:42 +01:00
Magnus Norddahl
06362385d6 Improve performance by 30% from using a better stencil block rejection test 2016-12-01 11:21:14 +01:00
Magnus Norddahl
e3b3b7a4ce Masked store experiment (which turned out to be much slower) 2016-12-01 10:52:53 +01:00
Magnus Norddahl
c89e023bd5 Remove unused left/top clip 2016-12-01 09:31:43 +01:00
Magnus Norddahl
2203da0c93 Minor simplification of the light calculation 2016-12-01 09:00:24 +01:00
Magnus Norddahl
fdbf2ab5e9 Fix compile errors for LLVM 3.8 2016-11-30 17:37:32 +01:00
Magnus Norddahl
3872e39afc Simplify affine texturing a bit 2016-11-30 12:56:37 +01:00
Magnus Norddahl
837d8f44d1 The precision of the SSE2 rcp opcode was a little bit too low 2016-11-30 09:08:49 +01:00
Magnus Norddahl
34bf581957 Fix new blend mode 2016-11-30 08:51:39 +01:00
Magnus Norddahl
8ad2f45082 Fix compile errors for older LLVM 2016-11-30 08:10:04 +01:00
Magnus Norddahl
03282c957b Add a new blend mode for sprites 2016-11-30 07:49:04 +01:00
Magnus Norddahl
6cc33553c2 Change object file generation to not use the JIT engine builder 2016-11-30 07:48:40 +01:00
Magnus Norddahl
cc94381366 Fix flushing issue in drawergen 2016-11-30 07:14:24 +01:00
alexey.lysiuk
d837f9ab93 Fixed compilation of drawergen on macOS 2016-11-29 22:25:13 +02:00
Edoardo Prezioso
7474be6284 - Fixed GCC/Clang compiler errors and warnings. 2016-11-29 19:46:38 +01:00
Magnus Norddahl
b450ac5047 Remove some multiplications and branching from the triangle drawer 2016-11-29 13:54:06 +01:00
Magnus Norddahl
046f5f2b2e Catch exceptions and write out their message 2016-11-29 13:53:02 +01:00
Magnus Norddahl
f4d5fb4c25 Improve drawergen to only recompile the object file if its timestamp does not match 2016-11-29 03:32:24 +01:00
Magnus Norddahl
0bb179c0c2 Remove the silly sleep again 2016-11-29 01:55:45 +01:00
Magnus Norddahl
1ac0fd1a90 Add a silly sleep 2016-11-29 01:19:20 +01:00
Magnus Norddahl
e9e7839133 Create drawergen tool 2016-11-28 17:31:56 +01:00
Rachael Alexanderson
78db0a0d06 Merge branch 'master' of https://github.com/rheit/zdoom 2016-11-23 01:43:12 -05:00
Braden Obrzut
789315bb4a - Fixed build with MinGW-w64 (TDM-GCC 5.1). Note that the resulting binary will crash under -O3 until the alignment violation is taken care of in FRemapTable::Alloc.
- It appears that CMake added native support for building rc files with MinGW at some point so removed manual rc compiling code.
2016-11-22 22:41:32 -05:00
Rachael Alexanderson
08c4f2ac18 - Added a tool to clear the LLVM cache, if ever there is corruption or it needs rebuilt. 2016-11-19 17:08:08 -05:00
Marisa Heit
f23e5d2677 Fixed: XLAT would not parse
- Disable the changes from commit 96afce241d
  because it appears to not recognize default rules that reduce as
  reducing.
- When tracing a parser, flush after every line output in case an
  assert is hit so you can actually see what it did up to that point.
2016-10-14 22:02:55 -05:00
Marisa Heit
97107b6b6d Update lempar.c to 2016-10-04 version
- Every update rolled into one, because I'm pretty sure I missed some while
updating lemon.c (not counting today's commits), since it wasn't always
updated at the same time as lemon.c.
- In particular, I think this check-in from 2016-06-06 was very important to
  us after commit 3d5867d29e (For the
  Lemon-generated parser, add a new action type SHIFTREDUCE and use it to
  further compress the parser tables and improve parser performance.):
  * Fix lempar.c so that the shift-reduce optimization works for error
    processing.
2016-10-13 22:30:12 -05:00
Marisa Heit
696beca40f Lemon update 2016-08-16 16:46:40 on branch trunk
— Fix a bug in destructorprocessing of Lemon. That has no impact on the SQLite grammar. The bug was introduced by prior work to optimize the Lemon-generated parser used by SQLite. (user: drh)
2016-10-13 22:23:28 -05:00
Marisa Heit
3b1a048885 Lemon update 2016-05-24 18:55:08 on branch trunk
— Enhance Lemon and the parser template so that it can once again build parsers that have no unreachable branches. (user: drh)
2016-10-13 22:22:04 -05:00
Marisa Heit
96afce241d Lemon update 2016-05-24 18:55:08 on branch trunk
— Enhance Lemon and the parser template so that it can once again build
parsers that have no unreachable branches. (user: drh)
2016-10-13 22:18:20 -05:00