Skip to content

Commit

Permalink
Merge branch 'main' into struct-chaining-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Dec 14, 2024
2 parents 8c5b16d + 1dbb707 commit 06888f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -866,12 +866,12 @@ typedef enum WGPUSurfaceGetCurrentTextureStatus {
WGPUSurfaceGetCurrentTextureStatus_Outdated = 0x00000004,
/**
* `0x00000005`.
* The connection to whatever owns the surface was lost.
* The connection to whatever owns the surface was lost, or generally needs to be fully reinitialized.
*/
WGPUSurfaceGetCurrentTextureStatus_Lost = 0x00000005,
/**
* `0x00000006`.
* The surface is not configured, or there was an @ref OutStructChainError.
* There was some deterministic error (for example, the surface is not configured, or there was an @ref OutStructChainError). Should produce @ref ImplementationDefinedLogging containing details.
*/
WGPUSurfaceGetCurrentTextureStatus_Error = 0x00000006,
WGPUSurfaceGetCurrentTextureStatus_Force32 = 0x7FFFFFFF
Expand Down
4 changes: 2 additions & 2 deletions webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -841,9 +841,9 @@ enums:
- name: outdated
doc: The surface is too different to be used, compared to when it was originally created.
- name: lost
doc: The connection to whatever owns the surface was lost.
doc: The connection to whatever owns the surface was lost, or generally needs to be fully reinitialized.
- name: error
doc: The surface is not configured, or there was an @ref OutStructChainError.
doc: There was some deterministic error (for example, the surface is not configured, or there was an @ref OutStructChainError). Should produce @ref ImplementationDefinedLogging containing details.
- name: texture_aspect
doc: |
TODO
Expand Down

0 comments on commit 06888f6

Please sign in to comment.