Added more graphics validation, misc api tweaks #30

Merged
cosmonaut merged 1 commits from TheSpydog/MoonWorks:validation into main 2022-11-08 19:29:06 +00:00
  • Refactored render pass attachment validation to avoid copy-pasting the asserts
  • Added validation for texture usage flags and null textures/samplers
  • Added an exception for when GraphicsPipeline/ComputePipeline creation fails
  • Changed TextureSamplerBinding so that it holds references to the Texture and Sampler classes, rather than just their handles
  • Removed the CommandBuffer.BindVertex/FragmentSamplers overloads that took a length parameter
* Refactored render pass attachment validation to avoid copy-pasting the asserts * Added validation for texture usage flags and null textures/samplers * Added an exception for when GraphicsPipeline/ComputePipeline creation fails * Changed TextureSamplerBinding so that it holds references to the Texture and Sampler classes, rather than just their handles * Removed the CommandBuffer.BindVertex/FragmentSamplers overloads that took a length parameter
TheSpydog added 1 commit 2022-11-03 19:38:26 +00:00
cosmonaut merged commit 1b38f8606b into main 2022-11-08 19:29:06 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonsideGames/MoonWorks#30
There is no content yet.