Commit Graph

85 Commits

Author SHA1 Message Date
Martin Mittring
29f89a390c Integrate from Orion
CL 2704794 2704931 2704948 2704962 2705238 2706353 2700643 2705458

        Uniform Buffer layout name

and

more debug info for this and other bugs: OR-7159 CRASH: Client crashed at start of match in D3D11Commands.cpp

Adding OptionalData (key value pairs) to the shaders (to put shader name into the shader code for better debugging), affects all RHI, invalidate DDC key for all shaders, cleanup existing code (was adding 0/1/5 bytes and had to compensate in many areas)

OptionalData:
key is a char, value is up to 255 bytes, up to 64K in total

#platformnotify Josh.Adams

[CL 2706923 by Martin Mittring in Main branch]
2015-09-25 17:34:00 -04:00
Dmitry Rekman
3e6290e814 Bunch of minor Linux cleanups and improvements.
- Mostly coming from MatthewL with changes.
- UE-19705 (getting MAC) - reworked to use ioctl
- UE-14633: IsFirstInstance is now a function on Linux
- UE-16061:dummy windows shouldn't be visible in the task bar.
- UE-18217 fixed.
- Unnecessary printf() removed.
- Set output to non-cached if running under debugger.

#platformnotify Josh.Adams

[CL 2698549 by Dmitry Rekman in Main branch]
2015-09-20 18:16:58 -04:00
Allan Bentham
e4a5934305 Fix FOpenGLCodeHeader serialisation for android. (where TCHAR == 4 bytes)
#codereview Mark.Satterthwaite

[CL 2669028 by Allan Bentham in Main branch]
2015-08-26 06:02:24 -04:00
Mark Satterthwaite
027c88145a Remove the r.Shaders.AvoidFlowControl CVar introduced in 2662625 - setting this by default was causing problems on various platforms and it isn't sufficiently useful to retain. Instead just force the Mac OpenGL shader platform to retain flow-control statements and let everything else use the default as before 2662625.
[CL 2665840 by Mark Satterthwaite in Main branch]
2015-08-24 06:10:23 -04:00
Mark Satterthwaite
1de828bbb1 Merging changes from ZebraBranch that:
- Append the source shader name to the GLSL when debug info is enabled to make it easier to debug.
- Always preserves GLSL flow control for Mac GLSL to improve performance on 2 of 3 vendors.
- Exposes a CVar to control whether to preserve or avoid GLSL flow-control for other shader platforms. The default remains to avoid flow control in GLSL.
#codereview michael.trepka

[CL 2662625 by Mark Satterthwaite in Main branch]
2015-08-20 10:15:09 -04:00
Rolando Caloca
42b256cb79 UE4 - Fix env var; added COMPILER_HLSLCC to shaders
[CL 2658309 by Rolando Caloca in Main branch]
2015-08-17 16:09:30 -04:00
Dmitry Rekman
db93d26078 Linux: some fixes/improvements for shader debugging.
[CL 2642399 by Dmitry Rekman in Main branch]
2015-08-03 16:07:57 -04:00
Rolando Caloca
0b5c4df5dc UE4 - hlslcc - Fixes for command lines; always pack uniforms; fix uninitialized variables
#codereview Dmitry.Rekman

[CL 2639009 by Rolando Caloca in Main branch]
2015-07-30 13:31:13 -04:00
Dmitriy Dyomin
6ead9e57d3 Decals and modulated shadows cause rendering artifacts on iPhone 4 UE-18913
#codereview Jack.Porter, Allan.Bentham

[CL 2635041 by Dmitriy Dyomin in Main branch]
2015-07-28 01:50:06 -04:00
Allan Bentham
edfe761f8f RGBA hdr encoding for devices without float16 surfaces (mali).
Enabled limited post processing when RGBA encoding is in use.
#codereview Jack.porter, Brian.Karis

[CL 2621594 by Allan Bentham in Main branch]
2015-07-15 06:39:44 -04:00
Zak Middleton
9efde3c4d1 #ue4-buildwatcher - Fix shadow variable warning.
#codereview Niklas.Smedberg

[CL 2614741 by Zak Middleton in Main branch]
2015-07-09 02:21:05 -04:00
Niklas Smedberg
12aa292416 ES 3.1 GLSL fixes (Rivalry now works on Nexus 9 and Shield Tablet 8)
[CL 2614583 by Niklas Smedberg in Main branch]
2015-07-08 22:20:29 -04:00
Rolando Caloca
daef6ebed2 UE4 - hlslcc - Common header reader
[CL 2609224 by Rolando Caloca in Main branch]
2015-07-02 11:52:03 -04:00
Jack Porter
8618807af5 Minor comment changes to mobile decals
[CL 2600154 by Jack Porter in Main branch]
2015-06-25 02:49:34 -04:00
Dmitriy Dyomin
f3b06e2b85 Add limited decal support on mobile UE-11981
Fixed: Stencil test does not work on mobile UE-16664 (still doesn't work on metal)
#codereview Jack.Porter, Martin.Mittring

[CL 2600130 by Dmitriy Dyomin in Main branch]
2015-06-25 02:07:29 -04:00
Rolando Caloca
842fb14f28 UE4 - hlslcc - Metal back integration (standalone changes, non-desktop)
#codereview Michael.Trepka, Peter.Sauerbrei, Mark.Satterthwaite, Dmitry.Rekman

[CL 2598096 by Rolando Caloca in Main branch]
2015-06-23 18:43:25 -04:00
Rolando Caloca
1d0cbc8fa5 UE4 - Force rebuild SCW
[CL 2597756 by Rolando Caloca in Main branch]
2015-06-23 16:05:45 -04:00
Chris Babcock
5945ce521c DisjointTimerQueries off by default, detect IntelHD GPUs, correction for ES 3.1 shaders
#ue4
#android
#codereview niklas.smedberg,rolando.caloca

[CL 2594644 by Chris Babcock in Main branch]
2015-06-19 19:28:40 -04:00
Rolando Caloca
8b34bd48af UE4 - Fix Precision output for ES platforms
#codereview Dmitry.Rekman, Michael.Trepka, Chris.Babcock

[CL 2592355 by Rolando Caloca in Main branch]
2015-06-18 14:24:11 -04:00
Rolando Caloca
18a2547b25 UE4 - Remove opengl precision modifiers from non-es platforms
[CL 2589093 by Rolando Caloca in Main branch]
2015-06-16 14:56:48 -04:00
Marc Audy
1a12e9cffe Add a matching PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS for PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS instead of using basic PRAGMA_POP
[CL 2548029 by Marc Audy in Main branch]
2015-05-12 17:41:47 -04:00
Allan Bentham
d8d8f26904 Workaround for odd compile problems seen on SGX540.
Fixes UE-13933 and potentially UE-3004

#codereview nick.penwarden, chris.babcock, rolando.caloca

[CL 2533669 by Allan Bentham in Main branch]
2015-05-01 10:48:11 -04:00
Allan Bentham
97ca18012c SCW fixes
Corrected GLSL version for ios es2.
Fix a couple of out of bounds argv[6] reads.

#codereview Rolando.Caloca, Daniel.Wright

[CL 2521051 by Allan Bentham in Main branch]
2015-04-22 10:29:49 -04:00
Rolando Caloca
27d7a0e070 UE4 - Fix ES3.1 emulation shader issues
#codereview Allan.Bentham

[CL 2514517 by Rolando Caloca in Main branch]
2015-04-16 13:02:21 -04:00
Rolando Caloca
9a899d66d4 UE4 - Mobile Preview for feature level ES3.1/Metal (experimental)
[CL 2510893 by Rolando Caloca in Main branch]
2015-04-13 18:00:32 -04:00