Commit Graph

8865 Commits

Author SHA1 Message Date
jckand-amzn 0d3ab12d42 Removing unused imports and debug waits
Signed-off-by: jckand-amzn <jckand@amazon.com>
2021-11-12 16:34:57 -06:00
jckand-amzn 11c219701e Initial check-in of in-memory prefab creation helpers for Dynamic Vegetation tests
Signed-off-by: jckand-amzn <jckand@amazon.com>
2021-11-12 15:47:18 -06:00
Benjamin Jillich 669ac8bb61 EMotion FX: Fix for the Y motion coordinate not being editable in blend space nodes (#5406)
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-11-09 13:07:59 +01:00
Benjamin Jillich 0ce2a7b2f4 EMotion FX: Apply motion extraction only in game-mode and for anim editor entities (#5401)
* Motion extraction should only be applied when in game mode or for entities that belong to the Animation Editor. We don't want our entities to move in editor mode.
* Moved code into separate function that actually applies the trajectory delta to the entity/character controller.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-11-09 13:07:48 +01:00
Benjamin Jillich f918b12b5a EMotion FX: Taskify dual quat skinning deformer (#5368)
* Moved from job system to task graph for the multi-threaded dual quaternion skinning deformer.
* Prepare the task graph at init time and reuse it at runtime.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
2021-11-09 13:07:20 +01:00
Michael Pollind 3b05e6ab1e bugfix: correctly center quick access bar (#5396)
Signed-off-by: Michael Pollind <mpollind@gmail.com>
2021-11-09 10:13:09 +00:00
santorac 36043983cc Merge pull request #4426 from aws-lumberyard-dev/Atom/santorac/FixSceneSrgTime
Fixed potential render scene time precision issues.

The timestamp was simply converted from GetTimeAtCurrentTick to a float. Since this value is backed by QueryPerformanceCounter which is 0 at boot, you could see broken animations on the GPU when your system has been on for a long time. So I simplified the RPI's time API (removed unused code), and subtracted the application start time each frame before converting the time value to a float.

Also moved FindShaderInputConstantIndex("m_time") to be called only once, instead of every frame.

Testing:
Originally: I had a local material shader that did vertex animation and it wasn't working at all before, and now it works.
More recently, I made local changes to StandardPBR to add a simple sin wave animation. I also modified GetTimeNowMicroSecond() to artificially add 30 days to the clock. This showed choppy animation before my changes, and smooth animation after.
AtomSampleViewer passed dx12 and vulkan (other than pre-existing issues)
2021-11-08 19:35:00 -08:00
Chris Burel 33d5109fe8 Merge stabilization/2110 as of 20edb35cdc into development (#5319) 2021-11-08 15:22:17 -08:00
santorac c119947f06 Removed tabs
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
2021-11-08 13:40:30 -08:00
santorac 8f1767ab86 Merge remote-tracking branch 'upstream/development' into Atom/santorac/FixSceneSrgTime 2021-11-08 12:31:22 -08:00
puvvadar 4468a9213d Merge pull request #5359 from aws-lumberyard-dev/LYN-8035_MultiplayerFlakyTest_ServerLogging
Wait to Activate Editor-server Until the Logging System is Ready
2021-11-08 12:10:37 -08:00
santorac cf0708f260 Merge branch 'development' into Atom/santorac/FixSceneSrgTime 2021-11-08 10:22:03 -08:00
SergeyAMZN 47af914ff5 Merge pull request #5276 from aws-lumberyard-dev/TimeoutAndDisconnectImprovements
Timeout and disconnect improvements
2021-11-08 13:27:57 +00:00
kberg-amzn c0e63988d8 merging latest dev, again, and hopefully dev is not still completely broken
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-11-05 19:23:01 -07:00
Jeremy Ong 3b1c63335a Merge pull request #5386 from aws-lumberyard-dev/Atom/RemoveNoisyMarkers
Remove markers that occupy <2us for 99% of events
2021-11-05 17:36:34 -06:00
kberg-amzn 479ff188a0 merging latest development
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-11-05 15:05:23 -07:00
Jeremy Ong 6b6eb2c936 Remove markers that occupy <2us for 99% of events
Signed-off-by: Jeremy Ong <jcong@amazon.com>
2021-11-05 16:01:51 -06:00
Brian Herrera c2d3650d61 Merge pull request #5384 from aws-lumberyard-dev/ignore-restricted-folders
Add restricted folder to gitignore
2021-11-05 14:46:07 -07:00
Mike Chang 46f4935ee4 Update to licenses/notices script (#5214)
This updates the licenses script to pull in all PackageInfo.json files with a specific argument, then follows each license file defined and writes the contents to a file. In this mode, if a packageinfo file is found, it will only grab the license file path defined within.

Also has the following features:

* Generalizes the function and variable names for non-license specific references
* Sorts os.walk to maintain consistent ordering
* Uses an ordered dict for the output, also to maintain ordering if using Python below 3.7
* Adds an additional json config file to have specific exclusion rules for 3p packages
* Adds a package creation function and config file entry
* Allow multipath scans, optional use of gitignore, merged license file scan

Signed-off-by: Mike Chang <changml@amazon.com>
2021-11-05 14:04:05 -07:00
Brian Herrera 2206d2d8f1 Add restricted folder to gitignore
Signed-off-by: brianherrera <briher@amazon.com>
2021-11-05 13:12:38 -07:00
Esteban Papp eecf6ab920 Create a nightly job that validates project-centric/engine-prebuilt (#5287)
* adds a test_install_profile_vs2019_pipe job to validate a project can build from the SDK

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* missed escaping these variables and breaks runtime dependencines in the install layout

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* Changes to PIPELINE_ENV_OVERRIDE

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* Tries to propagate ENV variables from pipeline jobs to jobs under it

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* Fixes typo

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* echoing a var to understand why is not going to the right path

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* put the COMMAND_CWD in the wrong job

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* adding similar jobs for linux/mac

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* dont pass an empty LY_PROJECTS

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* cmd -> sh, copy-paste mistake

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* inverting check in linux/mac

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* more fixes for linux/mac

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* fixing script paths for macos

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* more fixes for linux/mac

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* Test use of %% instead of !! for windows builds

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* fixes typo

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-11-05 12:30:19 -07:00
kberg-amzn 989952e106 Fix comment
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-11-05 12:28:06 -07:00
kberg-amzn 988561920a Sets up the event scheduler system component for hierarchy tests
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-11-05 12:26:10 -07:00
Gene Walters 384d631485 Switch to use the new ComponentApplicationLifecycle system to listen for legacy systems to be ready
Signed-off-by: Gene Walters <genewalt@amazon.com>
2021-11-05 12:23:00 -07:00
jromnoa 425412b4c2 Merge pull request #5354 from aws-lumberyard-dev/Atom/semaster/add_deferred_fog_p0
Test parallel Add P0 Deferred Fog
2021-11-05 11:58:51 -07:00
Chris Burel 0e885b8267 [Linux] Fix crash from accessing an invalid AZ::EnvironmentVariable
During asset processing, no `RPISystem` component is created, so nothing
so nothing calls `ShaderSystem::Init()`, so nothing calls
`ShaderReloadDebugTracker::Init()`. Consequently, the
AZ::EnvironmentVariables that are used during
`ShaderReloadDebugTracker::IsEnabled()` never got created, causing a read
from a nullptr at runtime. This fixes that issue by making `IsEnabled()`
call `CreateVariable()` on the variables it needs if they are not valid.

In addition, it changes the call to `CreateVariable()` to initialize the
variable's values directly, to ensure they are only initialized once. It
also switches to use `AZ::Crc32` so that the variable's id is computed at
compile time.

Signed-off-by: Chris Burel <burelc@amazon.com>
2021-11-05 11:38:41 -07:00
Shirang Jia 08115fc41f Add platform name to AP log path on S3 (#5316)
* Add platform name to AP log path on S3

Signed-off-by: shiranj <shiranj@amazon.com>

* Add platform name to AP log path on S3

Signed-off-by: shiranj <shiranj@amazon.com>
2021-11-05 10:36:14 -07:00
Sean Masterson c0ece7d32d Update to atom_constants.py docstring
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-05 09:49:59 -07:00
Gene Walters 9532e6c07f Merge branch 'upstream/development' into LYN-8035_MultiplayerFlakyTest_ServerLogging 2021-11-05 09:35:51 -07:00
SergeyAMZN b5d5ffb74c Merge pull request #5331 from aws-lumberyard-dev/LYN-8035_MultiplayerFlakyTestFix
Moving Flaky Multiplayer Tests into Sandbox
2021-11-05 14:48:56 +00:00
Gene Walters 5cac1a6f13 Merge branch 'LYN-8035_MultiplayerFlakyTestFix' into LYN-8035_MultiplayerFlakyTest_ServerLogging 2021-11-04 22:27:32 -07:00
Gene Walters 84d38a4f9c Removing Multiplayer MainSuite tests, because AR considers no-test to be a failure
Signed-off-by: Gene Walters <genewalt@amazon.com>
2021-11-04 22:23:00 -07:00
Gene Walters 3973a59d77 Wait to activate the editor-server until CrySystemInitialized so that the logging system is ready. Automated testing listens for these logs
Signed-off-by: Gene Walters <genewalt@amazon.com>
2021-11-04 18:37:15 -07:00
Sean Masterson 708582731d Add P0 Deferred Fog Test
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-04 16:56:46 -07:00
kberg-amzn ed06ef7ed2 Removing ITimeoutHandler to simplify timeout queue interface, removes some unneeded code
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-11-04 16:48:39 -07:00
kberg-amzn dedb367e9a Remove lots of mock interface code duplication
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-11-04 16:29:41 -07:00
kberg-amzn 97e10d8210 Fix mock and benchmark interfaces
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-11-04 16:27:05 -07:00
jromnoa 2853c4d0dc Merge pull request #5324 from aws-lumberyard-dev/Atom/jromnoa/remove-xfail-for-main-suite-tests
Remove xfail for new main suite tests, remove the old log lines tests.
2021-11-04 15:53:59 -07:00
jromnoa 6bae0bca7e add new bloom test to updated Main Suite test file since optimized main suite test file is removed
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-04 15:08:02 -07:00
jromnoa cf245e0ad3 delete unused TestSuite_Main_Optimized.py file
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-04 15:07:21 -07:00
jromnoa 363a778c33 Merge pull request #5323 from aws-lumberyard-dev/Atom/semaster/add_bloom_p0
Test parallel Add P0 Bloom
2021-11-04 15:03:28 -07:00
jromnoa 0c97c879c1 remove the main suite optimized jobs from CMakeLists.txt since its causing a false build failure on AR
Signed-off-by: jromnoa <80134229+jromnoa@users.noreply.github.com>
2021-11-04 13:58:30 -07:00
jromnoa 5fe5697147 Merge branch 'development' into Atom/jromnoa/remove-xfail-for-main-suite-tests 2021-11-04 13:56:22 -07:00
Sean Masterson bbeefe43b8 Added extra line above class Tests
Signed-off-by: Sean Masterson <semaster@amazon.com>
2021-11-04 13:52:54 -07:00
Gene Walters 1f4cb58c5e Moving flaky multiplayer tests into sandbox so they will still be ran nightly, but we can still fix and create new tests
Signed-off-by: Gene Walters <genewalt@amazon.com>
2021-11-04 13:49:33 -07:00
Chris Burel 3bf25aceaa Merge branch stabilization/2110 into development
Signed-off-by: Chris Burel <burelc@amazon.com>
2021-11-04 13:44:32 -07:00
Chris Burel f97fa6dbe0 Merge branch stabilization/2110 into development
Signed-off-by: Chris Burel <burelc@amazon.com>
2021-11-04 13:44:28 -07:00
Chris Burel ffb9e2ae3b Merge branch stabilization/2110 into development
Signed-off-by: Chris Burel <burelc@amazon.com>
2021-11-04 13:44:25 -07:00
Chris Burel d942c90c56 Merge branch stabilization/2110 into development
Signed-off-by: Chris Burel <burelc@amazon.com>
2021-11-04 13:44:22 -07:00
Chris Burel 5a0b5f9f8b Merge branch stabilization/2110 into development
Signed-off-by: Chris Burel <burelc@amazon.com>
2021-11-04 13:44:18 -07:00