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

D3D12 Xbox work continued #233

Merged
merged 13 commits into from
Aug 29, 2024
Merged

D3D12 Xbox work continued #233

merged 13 commits into from
Aug 29, 2024

Conversation

TheSpydog
Copy link
Collaborator

Working on the remaining pieces for #7

Copy link
Collaborator

@flibitijibibo flibitijibibo left a comment

Choose a reason for hiding this comment

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

This should be okay as long as the examples and maybe the FNA3D traces are okay, stuff like HDR can be added when someone really needs it.

@flibitijibibo
Copy link
Collaborator

We're having trouble with the swapchain resizing, but we're like 99% sure it's an OS bug - let's rebase and get this in, once we file a bug we can just throw a FIXME in an appropriate spot pointing to the dev forums or something.

@thatcosmonaut
Copy link
Owner

I agree, I think this is a bug somewhere and not something that will require a redesign.

@TheSpydog TheSpydog marked this pull request as ready for review August 29, 2024 02:38
{
/* NOTE: order matters here! */

if (usageFlags & SDL_GPU_TEXTUREUSAGE_SAMPLER_BIT) {
if (isSwapchainTexture) {
return D3D12_RESOURCE_STATE_PRESENT;
Copy link
Owner

Choose a reason for hiding this comment

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

If we're gonna do this, we should probably change the resource barrier in AcquireSwapchainTexture to use TextureSubresourceTransitionFromDefaultUsage.

@flibitijibibo flibitijibibo merged commit 9737e83 into gpu_next Aug 29, 2024
77 of 78 checks passed
@flibitijibibo flibitijibibo deleted the d3d12_xbox branch August 29, 2024 18:10
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