Commit graph

244 commits

Author SHA1 Message Date
Magnus Norddahl
111b5c5469 Add support for repeating skies in the TC sky drawer 2017-01-19 00:12:54 +01:00
Magnus Norddahl
e1506df8a6 Change globvis to be picked up from the r_light values in softpoly 2017-01-13 15:22:22 +01:00
Magnus Norddahl
4be291fb61 Fix divide by zero (issue 0000022) 2017-01-10 18:25:06 +01:00
Magnus Norddahl
2f64bfa5af Drop using intrinsics on ARM until after they actually got gdb to run on it.
It is all a waste of time anyhow, because when my computer is literally a
factor 100 times faster at building, what frame rate can one really expect?
What should it run at? 320x200?
2017-01-10 13:11:12 +01:00
Magnus Norddahl
3487be2c40 Fix drawergen linking on rpi 2017-01-10 12:51:35 +01:00
Magnus Norddahl
7c04fa6e1b Link with arm libraries on unix systems 2017-01-09 22:30:52 +01:00
Magnus Norddahl
8d3b056221 Move ARM fixes 2017-01-09 20:46:30 +01:00
Magnus Norddahl
8353c88506 ARM compile fixes 2017-01-09 18:55:21 +01:00
Magnus Norddahl
0de30ebdd9 Add arm neon intrinsics 2017-01-09 12:11:44 +01:00
Magnus Norddahl
b91e88a9a6 Remove unused intrinsic functions 2017-01-09 11:25:21 +01:00
Rachael Alexanderson
407204ee2c - Enabled Gnu CC ARM architecture check for Drawergen. 2017-01-08 21:25:27 -05:00
Magnus Norddahl
dba81db198 Move material multiplication out of inner light loop 2017-01-03 21:16:21 +01:00
Magnus Norddahl
c61e9c7fe2 Add attenuated point lights 2017-01-02 06:52:50 +01:00
Rachael Alexanderson
4b41b9c9dc - Fixed formatting a bit on 'the dangerous tool.' 2016-12-31 17:38:50 -05:00
Rachael Alexanderson
5d849f0ac9 - Added a shell script to fix llvm-3.8 issues in Ubuntu. 2016-12-31 17:33:32 -05:00
Magnus Norddahl
49903af394 Remove 4 column wall drawers 2016-12-27 07:18:04 +01:00
Magnus Norddahl
2659090e1c Move renders into folders 2016-12-27 06:31:55 +01:00
Magnus Norddahl
ced7bdf94a Remove rt drawer family and the infrastructure supporting it 2016-12-25 05:46:16 +01:00
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