Commit Graph

28 Commits

Author SHA1 Message Date
Rolando Caloca
dc2ade0796 UE4 - hlslcc - Metal - Fix texture sampled with different samplers
[CL 2514987 by Rolando Caloca in Main branch]
2015-04-16 17:03:26 -04:00
Allan Bentham
64090df1f4 Ensure correct assignment of emulated (ES2) uniform buffer indices for UB's generated within BuildResourceTableMapping(). Typically arises when only sampler related parameters are encountered.
Fixes UE-9804 and probably more.

#codereview nick.penwarden, Rolando.Caloca

[CL 2482912 by Allan Bentham in Main branch]
2015-03-18 08:03:21 -04:00
Rolando Caloca
6868525794 UE4 - hlslcc - Cleanup parser state & change hlslcc entry point to be a class in prep for moving to the Engine (missing Linux libraries)
odereview Dmitry.Rekman

[CL 2471354 by Rolando Caloca in Main branch]
2015-03-06 13:09:36 -05:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Josh Adams
d26ff98a24 - Moved ES31_PROFILE and SM4_PROFILE defines from Metal shader compiler into Common.usf (they should be removed from there as well, and not depend on them when METAL_*PROFILE is set)
#codereview rolando.caloca

[CL 2367583 by Josh Adams in Main branch]
2014-11-21 11:41:17 -05:00
Rolando Caloca
c874cc119a UE4 - hlslcc - Metal - NumThreads for compute shaders
[CL 2356214 by Rolando Caloca in Main branch]
2014-11-11 15:42:39 -05:00
Josh Adams
6937587675 - Added METAL_MRT shader format (part one of a multi-checkin for MetalMRT support), but it's not usable yet.
#codereview rolando.caloca,nick.penwarden

[CL 2324118 by Josh Adams in Main branch]
2014-10-09 11:27:07 -04:00
Rolando Caloca
1e13c6f58a UE4 - hlslcc - Rollback //depot/UE4/Engine/Source/ThirdParty/hlslcc to changelist 2316264
[CL 2319202 by Rolando Caloca in Main branch]
2014-10-03 20:02:42 -04:00
Rolando Caloca
88ff3983ea UE4 - Revert CCT
[CL 2313607 by Rolando Caloca in Main branch]
2014-09-29 18:57:21 -04:00
Rolando Caloca
941da65c63 hlslcc - Move hlslcc interface out of each shader format and into ShaderCompilerCommon module
- Delete hlslcc exe files (not needed anymore)

[CL 2312870 by Rolando Caloca in Main branch]
2014-09-29 10:10:28 -04:00
Rolando Caloca
e3fd63ec34 UE4 - Move glsl backend out of ThirdParty into ShaderFormatOpenGL
[CL 2310098 by Rolando Caloca in Main branch]
2014-09-25 14:27:21 -04:00
Rolando Caloca
95e0ed4435 UE4 - CCT now writes out source
[CL 2309773 by Rolando Caloca in Main branch]
2014-09-25 10:31:22 -04:00
Rolando Caloca
8f39508dd0 UE4 - hlslcc - Metal backend from ThirdParty to Engine module
[CL 2309668 by Rolando Caloca in Main branch]
2014-09-25 09:16:01 -04:00
Rolando Caloca
6c3d524f22 UE4 - Compile fix
[CL 2308431 by Rolando Caloca in Main branch]
2014-09-24 12:05:37 -04:00
Rolando Caloca
69c09f877c hlslcc - Metal backend rewrite without using the glsl backend
- Added FramebufferFetchMRT(n) intrinsic for Metal

[CL 2307524 by Rolando Caloca in Main branch]
2014-09-23 17:41:05 -04:00
Rolando Caloca
2d35bebedc UE4 - Forward cascaded shadows
* Fixes blackness on ES2
* Fix uniform buffer alignment issue

[CL 2295757 by Rolando Caloca in Main branch]
2014-09-12 18:32:03 -04:00
Rolando Caloca
29c68f2eec UE4 - Cascaded shadow maps on mobile/forward
* Still disabled as Metal requires a horrible workaround/hack
* Remove GSupportsGSRenderTargetLayerSwitchingToMips workaround

[CL 2295640 by Rolando Caloca in Main branch]
2014-09-12 17:21:49 -04:00
Rolando Caloca
d35038ab08 UE4 - hlslcc - Fix for truncation (which fixed modf() intrinsic); also added fix for copy propagation on loops
[CL 2243621 by Rolando Caloca in Main branch]
2014-08-04 19:46:14 -04:00
Josh Adams
d8a27d10ef - Fixed the path to the metal offline compiler for beta4+
[CL 2237675 by Josh Adams in Main branch]
2014-07-30 18:30:47 -04:00
Rolando Caloca
3f24640633 UE4 - hlslcc - Remove Metal seed 2 & 3 hack expanding matrices
[CL 2235112 by Rolando Caloca in Main branch]
2014-07-28 18:06:32 -04:00
Rolando Caloca
5d586a4f05 UE4 - Common crosscompiler headers
[CL 2219173 by Rolando Caloca in Main branch]
2014-07-15 13:25:14 -04:00
Rolando Caloca
f7fc34b130 hlslcc - Lower matrices to vectors for Metal (workaround)
[CL 2176144 by Rolando Caloca in Main branch]
2014-07-08 13:49:52 -04:00
Rolando Caloca
9893168c38 hlslcc - Compile all files as CPP (prep for renaming .c to .cpp)
#codereview mark.satterthwaite, michael.trepka

[CL 2124618 by Rolando Caloca in Main branch]
2014-07-02 11:08:24 -04:00
Rolando Caloca
b694adc81c UE4 - hlslcc - DumpShaderInfo now outputs a better batch file for running the cross-compiler (and it's shared with GL & Metal)
[CL 2122582 by Rolando Caloca in Main branch]
2014-06-30 18:32:57 -04:00