Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
460b6be7
There was an error fetching the commit references. Please try again later.
Commit
460b6be7
authored
1 year ago
by
Alessio
Committed by
JuanCStar
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Radeon gpu profiler detection support
parent
93dc7fb6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/video_core/vulkan_common/vulkan_device.cpp
+1
-0
1 addition, 0 deletions
src/video_core/vulkan_common/vulkan_device.cpp
src/video_core/vulkan_common/vulkan_device.h
+2
-1
2 additions, 1 deletion
src/video_core/vulkan_common/vulkan_device.h
with
3 additions
and
1 deletion
src/video_core/vulkan_common/vulkan_device.cpp
+
1
−
0
View file @
460b6be7
...
...
@@ -1364,6 +1364,7 @@ void Device::CollectToolingInfo() {
LOG_INFO
(
Render_Vulkan
,
"Attached debugging tool: {}"
,
name
);
has_renderdoc
=
has_renderdoc
||
name
==
"RenderDoc"
;
has_nsight_graphics
=
has_nsight_graphics
||
name
==
"NVIDIA Nsight Graphics"
;
has_radeon_gpu_profiler
=
has_radeon_gpu_profiler
||
name
==
"Radeon GPU Profiler"
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/video_core/vulkan_common/vulkan_device.h
+
2
−
1
View file @
460b6be7
...
...
@@ -592,7 +592,7 @@ public:
/// Returns true when a known debugging tool is attached.
bool
HasDebuggingToolAttached
()
const
{
return
has_renderdoc
||
has_nsight_graphics
;
return
has_renderdoc
||
has_nsight_graphics
||
has_radeon_gpu_profiler
;
}
/// @returns True if compute pipelines can cause crashing.
...
...
@@ -821,6 +821,7 @@ private:
bool
has_broken_parallel_compiling
{};
///< Has broken parallel shader compiling.
bool
has_renderdoc
{};
///< Has RenderDoc attached
bool
has_nsight_graphics
{};
///< Has Nsight Graphics attached
bool
has_radeon_gpu_profiler
{};
///< Has Radeon GPU Profiler attached.
bool
supports_d24_depth
{};
///< Supports D24 depth buffers.
bool
cant_blit_msaa
{};
///< Does not support MSAA<->MSAA blitting.
bool
must_emulate_scaled_formats
{};
///< Requires scaled vertex format emulation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment