Qing Tao
1e11df5d92
ATOM-17264 ASV: StreamingImageTest crashes ( #7415 )
...
Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
2022-02-03 17:32:12 -08:00
antonmic
4216e4cfed
Added support for hardware queue class on passes ( #7339 )
...
* Added support for hardware queue class on passes. Compute pass data and copy pass data can now specify to run on their appropriate queue.
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
* addressed PR feedaback
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
* fixing python test failures on AR
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
2022-02-03 16:37:42 -08:00
Qing Tao
01892914ea
Atom/qingtao/atom 16135 ( #7334 )
...
* Changes to AttachmentImage related classes to have better support using render target as texture.
- Updated AttachmentImageAsset to support an unique name which can be used as AttachmentId.
- Functions in ImageSystemInterface to find an AttachmentImage by its unique name.
- Added InsertChild function to ParentPass class so it can insert a child pass at any location.
- Change to ImageAttachmentPreviewPass so it can preview cached pass attachment even the source pass was disabled.
Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
2022-02-03 14:58:58 -08:00
antonmic
611598cd5d
Merge pull request #7340 from aws-lumberyard-dev/Atom/antonmic/RenderPipelineTick
...
Changed how pass system controls pipeline tick rate
2022-02-02 14:36:15 -08:00
moudgils
608411ab99
Metal pso caching support via MTLBinaryArchive ( #7212 )
...
* PipelineLibrary (PSO Caching) support for Metal
- API changes to handle Metal drivers implictly doing save/load of PipelineLibrary data
- Fixed up code related to Metal device selection
- PipelineLibrary support for Mac and ios
Signed-off-by: moudgils <moudgils@amazon.com >
* Fix compile errors for Dx12, Vulkan backend + Unit tests
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Fixed errors related to M1 GPU
Signed-off-by: moudgils <moudgils@amazon.com >
* Fix a minor 'tab' validation issue
Signed-off-by: moudgils <moudgils@amazon.com >
* Addressed feedback
Signed-off-by: moudgils <moudgils@amazon.com >
* Minor feedback
Signed-off-by: moudgils <moudgils@amazon.com >
* Added a few asserts
Signed-off-by: moudgils <47460854+moudgils@users.noreply.github.com >
* Fix a typo
Signed-off-by: moudgils <moudgils@amazon.com >
2022-02-02 10:50:37 -08:00
Qing Tao
584f9abf16
Add new function to DynamicDrawInterface to support submiting cached DrawPacket ( #7337 )
...
New function:
void AddDrawPacket(Scene* scene, ConstPtr<RHI::DrawPacket> drawPacket)
Deprecated function (still supported) :
void AddDrawPacket(Scene* scene, AZStd::unique_ptr<const RHI::DrawPacket> drawPacket)
Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
2022-02-02 08:52:53 -08:00
antonmic
50f34cf445
Changed how pass system controls pipeline tick rate
...
Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com >
2022-02-02 00:45:54 -08:00
Chris Galvan
63ce88a3ce
Merge pull request #7246 from aws-lumberyard-dev/cgalvan/AddedComponentSupportToRPIUtils
...
Extended sub image pixel API to support component indexing.
2022-01-31 13:19:55 -06:00
Chris Galvan
fba7d73c57
Extended sub image pixel API to support component indexing.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-28 11:10:33 -06:00
Jackerty
e03d9eefd9
Moves Culling.cpp::ProcessWorklist debug variables under preprocessing ( #7043 )
...
Function Culling.cpp::ProcessWorklist has couple variable which are unsused when compiling profile causing
a -Werror compile error. Fixes is to move variables and code increment them under debugging ifdef.
Signed-off-by: Jackerty <contact.jackerty@gmail.com >
2022-01-28 10:13:24 -06:00
Chris Galvan
f368997deb
Modified the passing of span in test
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-26 19:06:57 -06:00
Chris Galvan
f3fa731fef
Merge branch 'development' of https://github.com/o3de/o3de into cgalvan/DraftStreamingImageAssetPixelAPI
2022-01-26 16:46:58 -06:00
lumberyard-employee-dm
b9824ed172
Updated all array_view uses with the C++20 span. ( #7157 )
...
* Updated all array_view uses with the C++20 span.
The updates were done in the following order
1. `AZStd::array_view<([^>].+)\* ?>` -> `AZStd::span<\1 const>`
2. `AZStd::array_view<(?:const )(.+)>` -> `AZStd::span<const \1>`
3. `AZStd::array_view` -> `AZStd::span`
Removed the implementation of array_view.
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
* Added missing whitespace between `const` and the typename for spans.
Updated the ShaderTest comparison of the ShaderResourceGroupLayout span
to compare the sizes as well
Updated comments on some of the methods that stated that they return "an
array" to mention they return "a span".
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
2022-01-26 16:15:47 -06:00
Chris Galvan
0550167f9f
Updated API to return false if there is any issue retrieving the data
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-26 16:09:03 -06:00
Chris Galvan
670777f0f2
Moved the pixel value retrieval APIs from StreamingImageAsset to RPIUtils
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-26 15:25:47 -06:00
Chris Galvan
8d0dce2613
Merge pull request #7101 from siretty/fix_build_linux_clang_13
...
Fix Build on Linux with Clang 13 with Debug, Profile and Release Configuration
2022-01-24 12:24:33 -06:00
Chris Galvan
71640c1c82
Merge pull request #6376 from nemerle/compiletime_filerequest_code2
...
Compile time reduction - FileRequest & related changes
2022-01-24 11:43:27 -06:00
Daniel Edwards
0a5f472f43
Clang 13: Fix build errors ...
...
... due to local variables only being written to (but never read).
Signed-off-by: Daniel Edwards <dev@danieledwards.de >
2022-01-23 22:29:03 +01:00
dmcdiarmid-ly
c27f73c66b
Added a NumRaysPerProbe DiffuseProbeGrid setting
...
Added supervariants to the precompiled DiffuseProbeGrid shaders for the NumRaysPerProbe values
Signed-off-by: dmcdiarmid-ly <63674186+dmcdiarmid-ly@users.noreply.github.com >
2022-01-19 20:17:15 -07:00
dmcdiarmid-ly
4cd3568d7b
Merge pull request #6905 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-15813
...
Allow InstanceDatabase<Shader> to support multiple instances with different supervariants
2022-01-17 13:45:09 -07:00
dmcdiarmid-ly
1ef868437a
Added supervariantIndex check in Shader::OnShaderVariantAssetReady
...
Signed-off-by: dmcdiarmid-ly <63674186+dmcdiarmid-ly@users.noreply.github.com >
2022-01-14 17:28:14 -07:00
Qing Tao
c9ee1f7871
ATOM-17132 Image builder failed to build some images after preset was fixed ( #6900 )
...
The issue was because the preset reload was only happened in CreateJobs but not ProcessJobs. But these two functions might be called from different AssetBuilder. The fix is to add preset reload for Processjobs too.
There was another change to add debug device name for streaming image.
Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com >
2022-01-14 13:31:13 -08:00
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
dmcdiarmid-ly
5c603882b3
Changed the Shader instanceId to the combined assetId and supervariant index
...
Signed-off-by: dmcdiarmid-ly <63674186+dmcdiarmid-ly@users.noreply.github.com >
2022-01-13 19:57:22 -07: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
nemerle
f1f81c3789
Merge remote-tracking branch 'upstream/development' into compiletime_filerequest_code2
2022-01-08 21:25:48 +01: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
Nemerle
d8e06d9d95
Apply reviewer suggestions
...
Signed-off-by: Nemerle <nemerle5+git@gmail.com >
2021-12-17 16:02:33 +01: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
nemerle
5ff65be314
This reduces non-unity build time by ~2% and build size by ~0.5%.
...
This PR is a 'clean' version of #6199 updated to latest development
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
2021-12-12 23:48:47 +01: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
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
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