moudgils
d95e157f48
Different Pso cache per vendor/driver ( #6893 )
...
* Support to add a different PSO cache per vendor/driver version. Also added support to have a differnt cache for Warp
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Added a way to reset PSO cache for everyone
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Fix tabbing for one line which is failing validation
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
2022-01-14 12:24:58 -08:00
santorac
e4fe40aede
Merge branch 'development' into Atom/santorac/OrderOnceDependencyForPassBuilder
2022-01-12 11:26:11 -08:00
sphrose
0e0ca7585c
change default input color space to SRGB
...
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com >
2022-01-11 11:32:17 +00:00
michabr
df7a2fbd9d
Add better error handling for failed loading of the LyShine shader ( #6761 )
...
Signed-off-by: abrmich <abrmich@amazon.com >
2022-01-10 12:11:15 -08:00
Mike Balfour
17f928cddd
Removed chatty profile markers. ( #6556 )
...
* Removed chatty profile markers.
These 4 markers removed tens of thousands of events, which reduced an example capture from 1685 ms to 1614 ms and made it far more readable.
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
* Restored one marker
Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com >
2021-12-23 11:53:17 -06:00
antonmic
ad5f3f0e53
Merge pull request #6439 from aws-lumberyard-dev/Atom/antonmic/ClearPass
...
Atom/antonmic/clear pass
2021-12-16 12:12:36 -08:00
antonmic
53cf7b462b
Changing all ClearPass to SlowClearPass
...
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
2021-12-16 11:03:20 -08:00
antonmic
2bc381811d
addressed PR feedback
...
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
2021-12-16 10:42:53 -08:00
antonmic
18bb69a5cb
removed unnecessary lines
...
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
2021-12-15 18:37:48 -08:00
antonmic
0a8ba35738
Added ClearPass and automatic instantiation from ParentPass for slots specifying a clear action
...
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
2021-12-15 18:32:59 -08:00
Tommy Walton
7188529652
Fix for GHI-4644: mesh optimization breaking skin influences (DCO fix) ( #6336 )
...
* Average incoming skin influences when multiple vertices have been welded. This is one option which will average out the weights even if two welded vertices have differing boneIds, but we probably also need to add the influences earlier in the process and enforce a process where the vertices do not get welded if they have influences with differing boneIds
Signed-off-by: Tommy Walton <waltont@amazon.com >
* Move skin influences from MeshBuilderSkinningInfo to the vertex attribute layers so they are considered when choosing which vertices can be welded and so they are not duplicated when compatible vertices have been welded
Signed-off-by: Tommy Walton <waltont@amazon.com >
* Updating unit tests
Signed-off-by: Tommy Walton <waltont@amazon.com >
* Remove unused functions
Signed-off-by: Tommy Walton <waltont@amazon.com >
* Update based on feedback from burelc
Signed-off-by: Tommy Walton <waltont@amazon.com >
2021-12-13 13:07:04 -08:00
rgba16f
be0b034c43
Fix editor hang on level load ( #6323 )
...
Make View::SortFinalizedDrawLists use child jobs so they don't block the worker thread from doing other work while waiting.
Implement a TaskGraph version of the view draw list sort.
Fix a misc bug where the scene was waiting on a task graph event twice and so hanging.
Enable MeshFeatureProcessor::Simulate to be able to use jobs when no parent job is specified because the parent job is a task.
Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com >
2021-12-10 15:03:06 -06:00
moudgils
3540974b08
Multiple bug fixes ( #6221 )
...
* Multiple bug fixes
- Handle Dx12 validation error related to multiple resource transitions happening on the same resource.
- Added API to better query for image/buffer views associated with an attachment.
- Address possible serialization issues by usage of size_t
- Reduced number of Descriptor sets allowed per SRG Pool in order to reduce descriptor waste.
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Addressed minor feedback
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Fix compile issues
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Missed a few other fixes
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
2021-12-09 09:45:45 -08:00
sphrose
1a94caee47
Fix debug compilation.
...
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com >
2021-12-08 11:06:02 +00:00
Esteban Papp
5cca52e73c
Merge branch 'development' into redcode/driller_removal
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
# Conflicts:
# Code/Framework/AzCore/AzCore/azcore_files.cmake
# Gems/Atom/Feature/Common/Assets/Materials/Presets/MacBeth/15_red_sRGB.tif
2021-12-07 13:31:55 -08:00
Esteban Papp
cd5306febf
Merging from development
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-12-07 12:35:41 -08:00
rgba16f
aad16acf1f
Jobify the draw item list sort in View::FinalizeDrawLists ( #6176 )
...
Jobification of the sort saves 0.7ms/frame on the HighInstanceTest on my pc.
Make MeshFeatureProcessor update of the mesh cull bounds part of the job work rather than part of the simulate work. This saves 0.1ms/frame on the HighInstanceTest
Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com >
2021-12-07 10:44:12 -06:00
Esteban Papp
03adf700fe
Merge branch 'development' into redcode/driller_removal
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-12-03 13:35:16 -08:00
Esteban Papp
799cc68de2
no message
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-12-03 11:38:49 -08:00
antonmic
393c369055
Fixed pass warning in ASV
...
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
2021-12-02 23:33:56 -08:00
Esteban Papp
0b9497cd45
Changes call from AZ_TRACE to AZ_PROFILE. AZ_TRACE uses a driller bus that is going to be removed
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-12-02 17:12:25 -08:00
bosnichd
cbb5179b4c
Add a missing #include and [[maybe_unused]] ( #5960 )
...
Signed-off-by: bosnichd <bosnichd@amazon.com >
2021-11-29 08:21:55 -07:00
Tom Hulton-Harrop
5bd751531d
Update return type for viewport screen functions ( #5803 )
...
* update return type for viewport screen functions
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* add tests for AZ::Matrix3x4::CreateFromMatrix4x4 and add TransformPoint to Matrix3x4
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* update NDC -> Ndc
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* updates following review feedback
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* updates and improvements following PR feedback
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* add forward declaration of Matrix3x4 type
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* update where forward declarations are defined for Matrix3x4
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
2021-11-24 09:17:43 +00:00
puvvadar
6eec6c8f8e
Merge pull request #5752 from aws-lumberyard-dev/puvvadar/gitflow_211118_o3de
...
Merge stabilization/2110
2021-11-19 15:46:16 -08:00
Guthrie Adams
b89f5ee0c4
fixed tests
...
Signed-off-by: Guthrie Adams <guthadam@amazon.com >
2021-11-19 10:39:35 -06:00
Guthrie Adams
e97f5de94a
Updated material version warning messages to include the affected asset
...
Signed-off-by: Guthrie Adams <guthadam@amazon.com >
2021-11-18 15:48:47 -06:00
puvvadar
724ff3b011
Merge commit 'd222aeef48ad10224958e682294e704c10ee06df' into puvvadar/gitflow_211118_o3de
2021-11-18 09:42:47 -08:00
puvvadar
33cb674355
Merge commit 'e34ea3bcaa0306699804072c6bce6eb01f65fc52' into puvvadar/gitflow_211118_o3de
2021-11-18 09:37:30 -08:00
puvvadar
c6f5bcb3df
Merge commit '92510df37386a952a490f72d304dc8d0087a94e4' into puvvadar/gitflow_211118_o3de
2021-11-18 09:36:29 -08:00
Roman
e52cbd2bb3
Render joint names ( #5685 )
...
* render solid skeleton option
Signed-off-by: rhhong <rhhong@amazon.com >
* Fix broken build
Signed-off-by: rhhong <rhhong@amazon.com >
* CR update
Signed-off-by: rhhong <rhhong@amazon.com >
* Render joint names
Signed-off-by: rhhong <rhhong@amazon.com >
* CR update
Signed-off-by: rhhong <rhhong@amazon.com >
* CR update
Signed-off-by: rhhong <rhhong@amazon.com >
2021-11-18 06:42:41 -08:00
amzn-sean
e4563c0058
Update RPISystem::GetCurrentTime() to use TimeSystem ( #5613 )
...
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com >
2021-11-18 14:31:02 +00:00
Artur K
dc98a56d45
Clang/Clazy pass over AzCore ( #5045 )
...
* Multiple cleanups ( tidy etc. )
Coalesce nested namespaces.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Multiple cleanups ( tidy etc. ) cntd.
Converted Uuid into POD ( defaulted the constructor )
Add `&/const &` to `for` loops that benefit from their use
Some Qt optimizations ( string ref, prevent container detaches, etc. )
Replace `::bind` in a few places.
Replaced the use of AZ_CRC with AZ_CRC_CE in a few places.
Replace a few `typedef`s with `using`s
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Linux compilation fix.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Apply review suggestions.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Fix vs2019 build
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Small clang re-format in StringFunc.cpp
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Apply reviewer's suggestions.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
2021-11-18 10:09:22 +00:00
santorac
be9db80f99
Merge branch 'stabilization/2110' into Atom/santorac/MaterialEditorHandlesMissingTextures
2021-11-17 12:15:57 -08:00
Tom Hulton-Harrop
e34ea3bcaa
Fixes for viewport selection issues ( #5494 )
...
* improvements to editor selection in the viewport
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* fix issue with being able to select icons that are not showing for entities inside entity containers
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* update comment after review feedback
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* updates to viewport picking code to simplify the api
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* add test to replicate near clip intersection issue
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* small tidy-up changes
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* updates to how we perform world to screen and screen to world calculations, added test coverage and some tidy-up
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* add some more tests for ViewportInteractionImpl
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* minor tweaks before PR feedback
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* fix typo in fix
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* fix for manipulator test framework tests
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* updates to RPI::View and RenderPipeline after review feedback from VickyAtAZ
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* add constexpr to ScreenPoint, ScreenVector and ScreenSize initializing constructors
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* add PrintTo functions for Screen* types
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* downgrade error to warning temporarily
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* check incoming view is null
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
* remove pragma optimize off
Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com >
2021-11-17 17:12:21 +00:00
santorac
8b82452a1b
Updated ResolvePathReference to also early-return when the path is empty. @gadams3 said this would be helpful to him.
...
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com >
2021-11-16 17:30:33 -08:00
Alex Peterson
92510df373
Fix missing clip to world matrix data ( #5677 )
...
Signed-off-by: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com >
2021-11-16 16:34:43 -08:00
santorac
5cf65012b1
Updated RPI.Edit's AssetUtils to use the same TraceLevel enum as RPI.Reflect's AssetUtils. This is now used in GetImageAssetReference to remove a redundant error message since the error is also reported in MaterialSourceData and MaterialTypeSourceData.
...
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com >
2021-11-16 12:31:33 -08:00
santorac
284a44d74c
Updated AssetUtils::ResolvePathReference to avoid "The second join parameter is an absolute path" warnings from StringFunc::Path::Join.
...
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com >
2021-11-16 11:45:26 -08:00
Tommy Walton
0dcf49affc
Merge commit 'b0dfe26232b318e520887af65cd579ec87016636' into amzn-tommy/gitflow_211116_o3de2
...
Signed-off-by: Tommy Walton <waltont@amazon.com >
2021-11-16 11:45:09 -08:00
Tommy Walton
783bb72944
Merge commit 'f1d9e7ae28bf0667487c939aa32b1ef833da80f4' into amzn-tommy/gitflow_211116_o3de2
2021-11-16 11:41:26 -08:00
santorac
db3d41ad9d
Merge remote-tracking branch 'upstream/stabilization/2110' into Atom/santorac/MaterialEditorHandlesMissingTextures
2021-11-16 10:06:28 -08:00
santorac
a789d7b762
Minor code cleanup.
...
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com >
2021-11-16 00:00:10 -08:00
santorac
2657620846
Minor code cleanup.
...
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com >
2021-11-15 23:56:10 -08:00
santorac
aa85963a2b
Fixed MaterialPropertyValue::FromAny to preserve the Hint string when converting Asset objects. This fixed an issue where the hint didn't show up in the Material Component's instance inspector.
...
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com >
2021-11-15 23:21:21 -08:00
santorac
7d849cc0d2
Changed the overall strategy for how to handle missing image references. Instead of replacing it with one of the placeholder assets, we replace it with an random UUID which will be interpreted as a missing asset (unless some discovers discovers a UUID collision). This eventually gets replaced by one of the placeholder textures at runtime. This approach gives more consistent results in how missing texture are handled between Material Editor and Material Component.
...
I actually tried this approach before and it didn't seem to work the way we needed, but I realized that's because PropertyAssetCtrl wasn't handling missing assets properly. I fixed a few issues there including showing the error button when the asset can't be found, and fixing a broken reference to the error icon file.
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com >
2021-11-15 16:51:22 -08:00
amzn-sean
38a03817bb
Removal and Replacement of the CryTimer (gEnv->pTimer) ( #5409 )
...
Replaced and removed the CryTimer (gEnv->pTimer). The new TimeSystem is a merger of the current time functionality found in the engine.
* Rename TimeSystemComponent.h/.cpp to TimeSystem.h/.cpp
* Adding New TimeSystem
* remove old timer cvars
* small improvements to the time system.
- updated parts to use the time conversion functions.
- in AdvanceTickDeltaTimes applying t_simulationTickScale is now uses doubles instead of floats.
* Replace gEnv->pTimer / ITimer usages with TimeSystem
* Updating usages of AZ::TimeMs{ 0 } and AZ::TimeUs{ 0 } to AZ::Time::ZeroTimeMs and AZ::Time::ZeroTimeUs
* red code the CryTimer
* using TimeUs instead of TimeMs is some cases + updating usages of old cvars to new
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com >
2021-11-15 12:11:58 +00:00
Guthrie Adams
4d3c977d58
Merge pull request #5585 from aws-lumberyard-dev/Atom/guthadam/cherrypick_material_relative_paths_to_stab
...
Cherry pick material editor saves relative paths to external references and test support to stabilization
2021-11-12 14:54:36 -06:00
galibzon
b0dfe26232
The Build Time Stamp of ShaderAsset And ( #5373 )
...
* The Build Time Stamp of ShaderAsset And
ShaderVariantAsset Should Be Based On
GetTimeUTCMilliSecond()
GetTimeNowMicroseconds() is useful to measure time stamp differences.
GetTimeUTCMilliSecond() is for time stamps based on absolute clock/wall time.
* Updated DiffuseGlobalIllumination precompiled shaders
Co-authored-by: dmcdiar <dmcdiar@amazon.com >
Signed-off-by: galibzon <66021303+galibzon@users.noreply.github.com >
2021-11-12 13:51:07 -06:00
Guthrie Adams
f18f838da6
material editor and exporter save source materials with relative paths
...
Signed-off-by: Guthrie Adams <guthadam@amazon.com >
2021-11-11 21:43:51 -06:00
santorac
e1e282484f
Merge remote-tracking branch 'upstream/stabilization/2110' into Atom/santorac/MaterialEditorHandlesMissingTextures
2021-11-11 13:13:23 -08:00