Commit Graph

3712 Commits

Author SHA1 Message Date
hasareej 9e0dccbf39 Initial bug fix - Added a margin. 2021-06-23 13:21:22 +01:00
dmcdiarmid-ly b88d87a590 Merge pull request #1508 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-15787
[ATOM-15787] FullscreenTrianglePass incorrectly sets the scissor dimensions
2021-06-23 03:09:36 -07:00
Doug McDiarmid 1221b0f74f Minor formatting change. 2021-06-23 02:06:31 -07:00
Doug McDiarmid d98ad8eda8 Fix for FullscreenTrianglePass viewport and scissor state (author: moudgils). 2021-06-22 23:48:14 -07:00
Doug McDiarmid 623a77c21f Merge branch 'stabilization/2106' into Atom/dmcdiar/ATOM-15787 2021-06-22 21:02:36 -07:00
Chris Santora b3eb54e9c9 Fixed shader and material "Failed to find builder dependency" errors
Fixed shader and material "Failed to find builder dependency" errors

Merge pull request #1462 from aws-lumberyard-dev/santorac/stabilization/2106/MissingDependencyWarnings-ATOM-15136

Fixed a couple builders to avoid adding job dependencies on source files that don't exist.

This removes mostly benign (but noisy) messages about "Failed to find builder dependency".

Changed AssetUtils::GetPossibleDepenencyPaths to return all possible source paths, rather than stopping when one is found. This function is now used to report a list of all possible source dependencies, so that CreateJobs will get called by the AP whenever a file shows up at one of those locations. If a file was missing before and then appears, this will cause the builders to wake up and add the appropriate job dependencies on the new files. In ShaderVariantAssetBuilder and MaterialBuilder, we now use GetPossibleDepenencyPaths to report source dependencies rather than job dependencies. We only report a job dependency when the actual source file has been identified. This should all now be consistent with the intended design of the AP's dependency systems (the prior approach was a hack based on misunderstanding of what source dependencies are).

SrgLayoutBuilder's change is a bit tricky. The above changes did not fix all of the "Failed to find builder dependency" messages because AzslBuilder sometimes skips particular files in CreateJobs. When this happens, it is invalid to report an AzslBuilder job dependency on that file. So I copied the same conditional code that is used to skip an azsli file in CreateJobs, and used that to skip AddAzslBuilderJobDependency() in SrgLayoutBuilder as well.

With all these changes combined, I do think we've solved the issue where jobs fail to evict outdated jobs, as described in ATOM-15134. However, we are not yet seeing the iteration time improvements we were hoping for. Before these changes I was seeing roughly a 0.5 minute delay for the initial change, and a 2 minute delay for a subsequent change. With these changes it's more like 0.5 mibutes and 1.5 minutes. It appears that the AP scan is being starved by all the AssetBuilder processing going on, and perhaps IO contention. I suspect that this will be greatly improved on the development branch where we no longer have AzslBuilder and SrgLayoutBuilder slowing things down.

ATOM-15136 Builder dependency errors reported in mainline
ATOM-15134 Replace GetPossibleDepenencyPaths Approach with Source Dependencies

Testing: 
- Deleted and rebuild the ASV cache a few times. 
- Ran through a few different scenarios of adding and removing referenced files in the project folder and gem folder. Covering...
  - Parent materials
  - Material types
  - Material functors
- I discovered a particular scenario that produces incorrect results, but I verified the scenario fails without my changes too: LYN-4757
- Opened a few levels in AtomTest.
2021-06-22 20:12:40 -07:00
Doug McDiarmid 2d4d53bccf Change viewport and scissor state to use the output image size 2021-06-22 20:10:49 -07:00
AMZN-nggieber bc3aa45ed9 Prism Show Gem Requirements and Prompt when Adding Gems with Requirements (#1478)
* Added requirements section to gem inspector

* Added Dialog when configuring for gems with extra requirements
2021-06-22 19:44:33 -07:00
Ken Pruiksma 570696ad76 [ATOM-14344][ATOM-13908] Merging skinned and static mesh motion shaders using an optional vertex stream (#1491)
[ATOM-14344][ATOM-13908] Merging skinned and static mesh motion shaders using an optional vertext stream. This removes the log spam "Mesh does not have all the required input streams. Missing 'POSITIONT0'." and allows Material::GetShaderCollection() to be const only as it was intended. The MeshFeatureProcessor also no longer needs to decide which motion vector shader to use, and therefore no longer has m_skinnedMeshWithMotion in the descriptor to acquire a mesh.
2021-06-22 21:25:43 -05:00
mrieggeramzn aa3a7db7b6 Merge pull request #1499 from aws-lumberyard-dev/debugcascade
Small fix for debug cascades not working with bicubic pcf filtering
2021-06-22 18:36:50 -07:00
Chris Santora 71525ce601 Merge remote-tracking branch 'upstream/stabilization/2106' into santorac/stabilization/2106/MissingDependencyWarnings-ATOM-15136 2021-06-22 18:32:20 -07:00
AMZN-nggieber e21443b5d6 Added Project Preview to Project Settings and Fixed Issues with Moving Projects (#1380)
* Updated Project Settings Screen with preview and fixed moving projects

* Tests for some Project Utils

* Remove old defined consts

* Update UX to use display name when avaliable where appropriate

* Use newPreviewImagePath for temp changing preview.png otherwise use iconPath for preview in UX

* Removed use of newPreviewImagePath in ProjectButton
2021-06-22 17:24:48 -07:00
Esteban Papp 2323cdd9e4 LYN-4755 lrelease in debug should have the profile qt libraries 2021-06-22 16:41:43 -07:00
amzn-hdoke 35001eba09 Fix resource mappings file names and client auth warnings and asserts. Fix cdk permissions (#1487)
* Fix resource mappings file names and client auth warnings and asserts conditions

* Add comments to explain reasoning for client auth role permissions

* Update comments based on feedback

* Fix AWSClientAuth unit test
2021-06-22 16:31:46 -07:00
mriegger 6557a14e36 small fix for debug cascades not working with bicubic 2021-06-22 16:12:38 -07:00
AMZN-puvvadar 1c80a2e31e Merge pull request #1482 from aws-lumberyard/mpcompression-copy-update
Cleanup MultiplayerCompression gem.json
2021-06-22 15:55:43 -07:00
SJ cb2d64b205 Add parameters to specify custom native build path and enable unity build in Android gradle builds (#1494)
* Add parameters to specify custom native build path and enable unity build in Android gradle builds

* Enable unity build for gradle to shorten the path to the generated object files which fixes build failures on Jenkins due to paths exceeding limit. This also speeds up builds.
2021-06-22 15:31:52 -07:00
mrieggeramzn 37155fe0bf Merge pull request #1473 from aws-lumberyard-dev/Atom/mriegger/ATOM-15318
Atom/mriegger/atom 15318
2021-06-22 15:25:21 -07:00
Olex Lozitskiy e43ce653e3 sig/network: Entity Replicator cherry-pick fix to stabilization
Bugfix for: Entity Replicators were incorrectly made over an over every few ticks.
2021-06-22 17:20:30 -05:00
AMZN-koppersr 5dbfa2d497 Merge pull request #1452 from aws-lumberyard-dev/Streamer/ConfigUpdates
Streamer config updates
2021-06-22 14:57:15 -07:00
jckand-amzn ea9822acb2 Merge pull request #1402 from aws-lumberyard-dev/jckand/FoundationAutoStabilization
SPEC-7425: Duplicating test to run on GPU node
2021-06-22 16:04:38 -05:00
mriegger cca2b489d7 better formatting and changes from feedback 2021-06-22 13:53:31 -07:00
AMZN-Olex 0550b1998d Merge branch 'stabilization/2106' of https://github.com/aws-lumberyard/o3de into Network/olexl/entity_replicator_cherrypick_fix 2021-06-22 16:47:36 -04:00
AMZN-Olex f79cca6f9d Corrects ReplicationSet to be ordered so that logic in EntityReplicationManager::UpdateWindow is correct 2021-06-22 16:43:21 -04:00
AMZN-koppersr c78fa200ef Addressed PR feedback. 2021-06-22 13:29:20 -07:00
Mike Balfour db92dffb14 Fix Vegetation Modifier behavior when in-game (#1441)
* Removed a bit of dead legacy code

* Fixed entity references during spawning
Entities that had references to other entities that hadn't been spawned yet weren't getting their IDs remapped correctly, since the new ID wasn't available yet.  By pre-generating the full set of IDs, the references now remap correctly.

* Fixed up Entity References to work across multiple SpawnEntities calls
With SpawnEntities, entity references need to forward-reference to the *first* entity spawned, then from that point on backwards-reference to the *last* entity spawned.  Added that logic, along with some initial unit tests for SpawnAllEntities.

* Added more unit tests for SpawnEntities / SpawnAllEntities
2021-06-22 15:20:28 -05:00
Alex Peterson b1d21b7939 Remove vegetation assets gem (#1348)
* Remove vegetation assets gem
* Removing Vegetation_Gem_Assets from engine.json
2021-06-22 13:19:57 -07:00
Scott Romero c05943abf4 [stabilization/2106] installer jenkins job fixes and improvements (#1453)
Updated installer job tags to be included in nightly clean builds
Fixed escaping issue with passing installer framework env var to cmake
Removed enforcement of aws profile for uploading
Various changes to shorten the install path cpack uses
Added cpack log file dump on error
Added build tagging from git repo info to installer job
Fixed bug causing bootsrapper to crash on secondary machines
2021-06-22 13:12:40 -07:00
Tommy Walton be0fbaaddc LYN-2227 : Improve mesh initialization performance by not creating draw packet more than once (#1476)
* Move SetUseForwardPassIblSpecular to happen when acquiring a mesh, instead of immediately after so that we don't build the drawpacket twice for every mesh

* Update the MeshFeatureProcessor to use the booleans from the descriptor directly instead of having loose booleans in the MeshDataInstance

* m_excludeFromReflectionCubeMaps is not (and does not need to be) part of the descriptor, since setting is cheap and doesn't duplicate work that is done when acquiring the mesh
2021-06-22 12:59:27 -07:00
Danilo Aimini 6fe448d991 Adding [[maybe_unused]] to variables that would not get hit in release mode in JsonSlotSerializer (#1486) 2021-06-22 12:59:01 -07:00
hershey5045 f6768ea880 Fix camera issue causing it to block component property changes in editor (#1466) 2021-06-22 12:56:38 -07:00
mriegger 6a19196d33 fix typo in comment 2021-06-22 12:40:40 -07:00
AMZN-koppersr 1ac4ec656d Merge branch 'stabilization/2106' into Streamer/ConfigUpdates 2021-06-22 11:58:08 -07:00
Esteban Papp 44d8e7b804 LYN-4666 Make AR builds use the stabilization/2106 snapshot (#1440)
* use snapshots out of stabilization

* temporal print to figure out why the mount is not used

* removing print used for debugging
2021-06-22 10:35:02 -07:00
mriegger 026b1df29a removing small issue 2021-06-22 10:34:13 -07:00
mriegger 6dfa9d269c Fixing mistakes 2021-06-22 10:19:21 -07:00
lumberyard-employee-dm 7a6fa66427 Updated the MultiplayerCompression gem.json
Added the newer fields for describing the gem, which is used by the ProjectManager.
2021-06-22 11:53:12 -05:00
scottr 36929f59ae Merge branch 'stabilization/2106' into cpack/jenkins-main 2021-06-22 09:52:14 -07:00
jckand-amzn 3fb3836b54 Simplifying test filtering in CMakeLists 2021-06-22 11:44:29 -05:00
AMZN-puvvadar bde60feb0e Cleanup MultiplayerCompression gem.json
Removes outdated references in tags/copy of MultiplayerCompression's gem.json
2021-06-22 09:39:48 -07:00
SJ d5490ecf69 Update AWS android package version to rev4
Merge pull request #1461 from aws-lumberyard-dev/LYN-4593
2021-06-22 09:39:20 -07:00
moudgils 4f84ec90d3 Various new metal fixes (#1465)
* - Fix the second window related tabbing issue
- Merge calls to UseResoources acrooaa all the SRGs
- Move SamplerCache to the device to ensure only one cache to reduce duplication
- Fixes to compute threading numbers getting reset to 0,0,0
- Cleanup withing BufferPoolResolver
- Argument buffers are now queued to be cleaned up upon shutdown
2021-06-22 08:58:15 -07:00
jckand-amzn 4c294c0931 Merge branch 'stabilization/2106' of https://github.com/aws-lumberyard/o3de into jckand/FoundationAutoStabilization 2021-06-22 10:07:50 -05:00
jjjoness 0aad6ad08d Merge pull request #1477 from aws-lumberyard-dev/LYN-2509b
Cherry picked from development
2021-06-22 14:46:18 +01:00
Benjamin Jillich 7d5a7b47ac [LYN-3717] When pulling in an actor FBX, two entities are spawned & [ATOM-15258] Clicking and Dragging fbx file into viewport produces 2 entities (#1392)
* [LYN-3717] When pulling in an actor FBX, two entities are spawned & [ATOM-15258] Clicking and Dragging fbx file into viewport produces 2 entities
* Added another operation to the CanSpawnEntityForProduct that checks the other products and can veto the creation process.
* The model product will not create an entity in case there is already an actor exported, which prevents the issue reported by two different teams/users.
2021-06-22 14:12:42 +02:00
Terry Michaels 858dee2210 Need to keep full asset paths around in LuaIDE (#1470) 2021-06-22 07:05:42 -05:00
John Jones-Steele 66c4541e14 Fixed merge error in NewLevelDialog 2021-06-22 11:25:53 +01:00
greerdv 602baa44d9 Merge pull request #1463 from aws-lumberyard-dev/non-uniform-scale-migration
add editor python script to help with migrating levels with non-unifo…
2021-06-22 10:49:55 +01:00
jjjoness 1ec238685d Merge branch 'stabilization/2106' into LYN-2509b 2021-06-22 10:07:28 +01:00
John Jones-Steele 2dce6954a1 Cherry picked from development 2021-06-22 09:41:48 +01:00