Commit Graph

92 Commits

Author SHA1 Message Date
Rolando Caloca
a1f4fdf0be UE4 - Metal - Fix bad uav dereference
Glsl - Better variable names

[CL 2486692 by Rolando Caloca in Main branch]
2015-03-20 16:18:49 -04:00
Rolando Caloca
1362eb3a75 UE4 - Metal - Change fmax/fmin to max/min when using int/uint types
- Change local var name to match type for easier debugging

[CL 2486219 by Rolando Caloca in Main branch]
2015-03-20 11:31:48 -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
be71ff1af5 UE4 - hlslcc - Reduce memory leaks (missing Linux libs)
#codereview Dmitry.Rekman

[CL 2473774 by Rolando Caloca in Main branch]
2015-03-10 10:40:42 -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
Rolando Caloca
ff538da9bf UE4 - Fixes UE-10562
hlslcc - Fix empty if() generation
Converts from
if(!EXPR) {}
to
EXPR
#codereview Mark.Satterthwaite, Chris.Babcock, Dmitry.Rekman, Michael.Trepka

[CL 2457355 by Rolando Caloca in Main branch]
2015-02-23 18:55:44 -05:00
Josh Adams
f143c10f80 - Some compute shader fixes, one left with buffer indices (handing back to Rolando)
[CL 2408122 by Josh Adams in Main branch]
2015-01-15 19:28:55 -05:00
Rolando Caloca
a71dea4f0d UE4 - Metal - Fix: texture2D into texture2d
#codereview Josh.Adams

[CL 2407332 by Rolando Caloca in Main branch]
2015-01-15 11:20:29 -05:00
Rolando Caloca
b4bf3df59e UE4 - Metal - Fix RWTexture2D writes (still need to check if we can bind textures as buffer[[n]] )
#codereview Josh.Adams

[CL 2406714 by Rolando Caloca in Main branch]
2015-01-14 20:54:20 -05:00
Rolando Caloca
31e52138a9 UE4 - Metal - Fix for SVPosition.w
[CL 2398968 by Rolando Caloca in Main branch]
2015-01-06 14:44:32 -05:00
Josh Adams
946168cd4f Quick fix for packing 2 halves into a uint (better fix will be handling all packing modes)
#codereview rolando.caloca

[CL 2391116 by Josh Adams in Main branch]
2014-12-17 10:05:37 -05:00
Rolando Caloca
c0db1bfb0e UE4 - hlslcc & Metal
- Metal - Fix for RWBuffer<uint> generating swizzle .x
- hlslcc - Support for RWStructuredBuffer

[CL 2388726 by Rolando Caloca in Main branch]
2014-12-15 12:21:10 -05:00
Rolando Caloca
b2146e396d UE4 - Metal - Fix UAV indices
[CL 2387457 by Rolando Caloca in Main branch]
2014-12-12 16:43:26 -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
efab15adfb - Added a Metal shader CC workaround for use of packHalf2x16 in compute shader (likely can be done cleaner - rco!)
#codereview rolando.caloca

[CL 2375131 by Josh Adams in Main branch]
2014-12-03 14:46:51 -05:00
Rolando Caloca
83b098f70c #UE4 - Metal - Fix for UAVs
[CL 2373118 by Rolando Caloca in Main branch]
2014-12-01 19:09:11 -05:00
Rolando Caloca
41144eec34 #UE4 - Metal - Proper sync primitives, add missing #include
#codereview Josh.Adams

[CL 2372584 by Rolando Caloca in Main branch]
2014-12-01 11:18:51 -05:00
Rolando Caloca
2a3d4fe394 #UE4 - Metal - missing compute intrinsic
[CL 2372572 by Rolando Caloca in Main branch]
2014-12-01 10:47:45 -05:00
Rolando Caloca
7505c50959 UE4 - Metal - Use precise::clamp for float
#codereview Josh.Adams

[CL 2370073 by Rolando Caloca in Main branch]
2014-11-25 17:53:45 -05:00
Rolando Caloca
054d77dc6d UE4 - Undo Metal precise clamp
[CL 2369998 by Rolando Caloca in Main branch]
2014-11-25 17:51:58 -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
Josh Adams
082e2c72f5 - Changed Metal clamp to precise version to remove NaNs
#codereview rolando.caloca

[CL 2367579 by Josh Adams in Main branch]
2014-11-21 11:36:30 -05:00
Rolando Caloca
db17154f0f UE4 - Metal - remove packed from CB's (fixes array of float3 in cb's bug)
#codereview Josh.Adams

[CL 2366818 by Rolando Caloca in Main branch]
2014-11-20 16:16:13 -05:00
Rolando Caloca
bbb7c649ed UE4 - hlslcc - Support for void intrinsics;
Metal - Support for group memory barrier with group sync

[CL 2357056 by Rolando Caloca in Main branch]
2014-11-12 10:01:44 -05:00