Commit Graph

3725 Commits (47a83f4f15ec2951d860e7f61307d5168e5e0456)
 

Author SHA1 Message Date
lumberyard-employee-dm 47a83f4f15
Adding the PrimitiveAssets gem to the Default Project template (#1503) 5 years ago
Chris Burel 6f84a9df60
Fix function signature of binary +/- operator to not return a reference (#1523)
This function creates a new object on the stack, and was returning it as
a reference. This would trigger Clang 12's `-Wreturn-stack-address`
warning, and cause the build to fail.

This is a cherry-pick from #1285
5 years ago
Jonny Galloway f18ee01e68
Merge pull request #1517 from aws-lumberyard-dev/Atom/gallowj/dccsi_legal
pruning some files, reduced size of a image used in a test
5 years ago
Qing Tao 81c2bf54d3
ATOM-15842 Update the fps calculation for editor (#1500) 5 years ago
amzn-sean a160ffb9a3
fix possible double connect of the Collider m_debugDisplayDataChangedEvent (#1518) 5 years ago
Steve Pham 70042fcdcd
O3DE Copyright Updates for Linux Foundation (#1504) 5 years ago
jonawals 6068c73e48
Merge pull request #1511 from aws-lumberyard-dev/WhiteBoxAtomMeshFix
Fix for White Box mesh disappearing
5 years ago
sphrose 0589968a9b
Merge pull request #1513 from aws-lumberyard-dev/LYN-3619b
Merge pull request #1454 from aws-lumberyard-dev/LYN-3619
5 years ago
Alex Peterson aa885e5d0b
Fix project creation (#1445)
* Add ability to change project name

* Fixed several issues where path types were changed

* Added PythonBindings CreateProject unit test

* Fix python warning format

* Validate new project name in CLI

* Fix issue creating pathview on linux

* Use better testing macros

* Refactored the unit_test_engine_template.py test to actually test
against the current engine_template.py commands

The commands of create-template, create-from-template, create-project
and create-gem is now being validated.

Registered the unit_test_engine_template.py script with CTest in the smoke test
suite so that it runs in Automated Review

Fixed issues in the engine_template.py script where the template_restricted_path parameter was required in the create_project and create_gem functions

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
5 years ago
sharmajs-amzn 64533431d8
{SPEC-7412}AssetPipelineTests.Gui_2_Main.main fails in nightly build (#1481) 5 years ago
Esteban Papp 78b8daa783
LYN-4745 ci_build_metrics doesnt distinguish between different repo (#1496)
* add repository to ci_build_metrics

* fixing build

* changing the job to pass the right parameters

* passing parameters that need to be expanded

* missed this, important

* fixing typo
5 years ago
gallowj 7514d29ef1 pruning some files, reduced size of a image used in a test 5 years ago
sphrose ef3e31c740 Merge pull request #1454 from aws-lumberyard-dev/LYN-3619
New level dialog has no way to select a different folder
5 years ago
John ef0f4130b7 Fix for White Box mesh disappearing 5 years ago
dmcdiarmid-ly b88d87a590
Merge pull request #1508 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-15787
[ATOM-15787] FullscreenTrianglePass incorrectly sets the scissor dimensions
5 years ago
Doug McDiarmid 1221b0f74f Minor formatting change. 5 years ago
Doug McDiarmid d98ad8eda8 Fix for FullscreenTrianglePass viewport and scissor state (author: moudgils). 5 years ago
Doug McDiarmid 623a77c21f Merge branch 'stabilization/2106' into Atom/dmcdiar/ATOM-15787 5 years ago
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.
5 years ago
Doug McDiarmid 2d4d53bccf Change viewport and scissor state to use the output image size 5 years ago
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
5 years ago
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.
5 years ago
mrieggeramzn aa3a7db7b6
Merge pull request #1499 from aws-lumberyard-dev/debugcascade
Small fix for debug cascades not working with bicubic pcf filtering
5 years ago
Chris Santora 71525ce601 Merge remote-tracking branch 'upstream/stabilization/2106' into santorac/stabilization/2106/MissingDependencyWarnings-ATOM-15136 5 years ago
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
5 years ago
Esteban Papp 2323cdd9e4
LYN-4755 lrelease in debug should have the profile qt libraries 5 years ago
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
5 years ago
mriegger 6557a14e36 small fix for debug cascades not working with bicubic 5 years ago
AMZN-puvvadar 1c80a2e31e
Merge pull request #1482 from aws-lumberyard/mpcompression-copy-update
Cleanup MultiplayerCompression gem.json
5 years ago
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.
5 years ago
mrieggeramzn 37155fe0bf
Merge pull request #1473 from aws-lumberyard-dev/Atom/mriegger/ATOM-15318
Atom/mriegger/atom 15318
5 years ago
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.
5 years ago
AMZN-koppersr 5dbfa2d497
Merge pull request #1452 from aws-lumberyard-dev/Streamer/ConfigUpdates
Streamer config updates
5 years ago
jckand-amzn ea9822acb2
Merge pull request #1402 from aws-lumberyard-dev/jckand/FoundationAutoStabilization
SPEC-7425: Duplicating test to run on GPU node
5 years ago
mriegger cca2b489d7 better formatting and changes from feedback 5 years ago
AMZN-Olex 0550b1998d Merge branch 'stabilization/2106' of https://github.com/aws-lumberyard/o3de into Network/olexl/entity_replicator_cherrypick_fix 5 years ago
AMZN-Olex f79cca6f9d Corrects ReplicationSet to be ordered so that logic in EntityReplicationManager::UpdateWindow is correct 5 years ago
AMZN-koppersr c78fa200ef Addressed PR feedback. 5 years ago
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
5 years ago
Alex Peterson b1d21b7939
Remove vegetation assets gem (#1348)
* Remove vegetation assets gem
* Removing Vegetation_Gem_Assets from engine.json
5 years ago
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
5 years ago
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
5 years ago
Danilo Aimini 6fe448d991
Adding [[maybe_unused]] to variables that would not get hit in release mode in JsonSlotSerializer (#1486) 5 years ago
hershey5045 f6768ea880
Fix camera issue causing it to block component property changes in editor (#1466) 5 years ago
mriegger 6a19196d33 fix typo in comment 5 years ago
AMZN-koppersr 1ac4ec656d Merge branch 'stabilization/2106' into Streamer/ConfigUpdates 5 years ago
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
5 years ago
mriegger 026b1df29a removing small issue 5 years ago
mriegger 6dfa9d269c Fixing mistakes 5 years ago
lumberyard-employee-dm 7a6fa66427
Updated the MultiplayerCompression gem.json
Added the newer fields for describing the gem, which is used by the ProjectManager.
5 years ago