From 1dbb707500a150970134d685796753dfd73957f8 Mon Sep 17 00:00:00 2001 From: Kai Ninomiya Date: Thu, 12 Dec 2024 16:37:42 -0500 Subject: [PATCH] GetCurrentTextureStatus_Error "should" have impl-defd logging (#468) --- webgpu.h | 4 ++-- webgpu.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webgpu.h b/webgpu.h index 0b142a14..a143beb1 100644 --- a/webgpu.h +++ b/webgpu.h @@ -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 diff --git a/webgpu.yml b/webgpu.yml index 80d468c5..2f4af11f 100644 --- a/webgpu.yml +++ b/webgpu.yml @@ -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