Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpu: More pre-work to combine Printf and GPUAV #8611

Conversation

spencer-lunarg
Copy link
Contributor

Takes work from and brings out things that can be done now that will make the "final merge" PR more readable
cedb681

@spencer-lunarg spencer-lunarg requested a review from a team as a code owner September 27, 2024 14:45
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 266267.

@@ -526,3 +526,165 @@ void CommandBuffer::PostProcess(VkQueue queue, const Location &loc) {
}

} // namespace gpuav


namespace gpu_tracker {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the final move will be to remove this namespace but keep the logic in this file (where it belongs)

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17621 running.

@@ -1362,7 +1369,7 @@ bool GpuShaderInstrumentor::InstrumentShader(const vvl::span<const uint32_t> &in
gpu::spirv::Module module(input_spirv, debug_report, module_settings);

// For now, we don't yet support (or have tested) combining GPU-AV and DebugPrintf, so have 2 paths here
const bool is_debug_printf = container_type == LayerObjectTypeDebugPrintf;
Copy link
Contributor

@arno-lunarg arno-lunarg Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could just use debug_printf_enabled directly instead of is_debug_printf

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya, we are going to need to change this from is_debug_printf to is_only_debug_printf anyways.. basically my main goal was to just remove anyone trying to read from LayerObjectTypeDebugPrintf lol

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17621 passed.

@spencer-lunarg spencer-lunarg merged commit b827793 into KhronosGroup:main Sep 30, 2024
21 checks passed
@spencer-lunarg spencer-lunarg deleted the spencer-lunarg-debug-printf-combine-23 branch September 30, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants