Skip to content

Add exceptions for breakage introduced in RD barriers#79911

Merged
YuriSizov merged 1 commit into
godotengine:masterfrom
BastiaanOlij:fix_barrier_breakage
Aug 1, 2023
Merged

Add exceptions for breakage introduced in RD barriers#79911
YuriSizov merged 1 commit into
godotengine:masterfrom
BastiaanOlij:fix_barrier_breakage

Conversation

@BastiaanOlij

@BastiaanOlij BastiaanOlij commented Jul 26, 2023

Copy link
Copy Markdown
Contributor

This PR makes a few minor changes to #77420 to:

  • make sure the existing enums BARRIER_MASK_COMPUTE and BARRIER_MASK_TRANSFER keep their original values
  • make sure that enums BARRIER_MASK_ALL_BARRIERS and BARRIER_MASK_NO_BARRIER are more future proof in case we add additional flags in the future.

Added exceptions to 4.0-stable-expected where applicable.

@BastiaanOlij BastiaanOlij added this to the 4.2 milestone Jul 26, 2023
@BastiaanOlij BastiaanOlij self-assigned this Jul 26, 2023
@BastiaanOlij BastiaanOlij force-pushed the fix_barrier_breakage branch from 28c7371 to 73b3d37 Compare July 26, 2023 02:10
@BastiaanOlij

Copy link
Copy Markdown
Contributor Author

Just waiting on CI to finish so we know the breakage exceptions I need to add...

@BastiaanOlij BastiaanOlij force-pushed the fix_barrier_breakage branch 2 times, most recently from dd72026 to 98bcb64 Compare July 26, 2023 02:54
@BastiaanOlij BastiaanOlij marked this pull request as ready for review July 26, 2023 02:54
@BastiaanOlij BastiaanOlij requested review from a team as code owners July 26, 2023 02:54

@clayjohn clayjohn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me. This should minimize compat breakage if anyone is relying on these barriers and it gets rid of our annoying errors

@dsnopek dsnopek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good to me as well! Thanks!

@raulsntos raulsntos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't really know what these barrier flags are, so I added some comments only regarding compatibility.

It does look like it will break compat less and that looks like a good thing.

Comment thread doc/classes/RenderingDevice.xml Outdated
Comment thread doc/classes/RenderingDevice.xml Outdated
Comment thread doc/classes/RenderingDevice.xml Outdated
@BastiaanOlij BastiaanOlij force-pushed the fix_barrier_breakage branch from 98bcb64 to 10f796d Compare July 28, 2023 04:21
@YuriSizov YuriSizov merged commit cc1ee3e into godotengine:master Aug 1, 2023
@YuriSizov

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants