mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 23:26:24 +00:00
OpenGL: Add support for backend validation
This uses the OpenGL debug ouput functionality to make the driver call us back when an error happens so we can ASSERT and fail. BUG=dawn:190 Change-Id: I4b6d7a860384dfeccc1c37383fd4cbdc09d7dc05 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9204 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
fefb3ab120
commit
ba84fb2977
@@ -44,20 +44,8 @@ using GLDEBUGPROC = void(KHRONOS_APIENTRY*)(GLenum source,
|
||||
GLsizei length,
|
||||
const GLchar* message,
|
||||
const void* userParam);
|
||||
using GLDEBUGPROCARB = void(KHRONOS_APIENTRY*)(GLenum source,
|
||||
GLenum type,
|
||||
GLuint id,
|
||||
GLenum severity,
|
||||
GLsizei length,
|
||||
const GLchar* message,
|
||||
const void* userParam);
|
||||
using GLDEBUGPROCKHR = void(KHRONOS_APIENTRY*)(GLenum source,
|
||||
GLenum type,
|
||||
GLuint id,
|
||||
GLenum severity,
|
||||
GLsizei length,
|
||||
const GLchar* message,
|
||||
const void* userParam);
|
||||
using GLDEBUGPROCARB = GLDEBUGPROC;
|
||||
using GLDEBUGPROCKHR = GLDEBUGPROC;
|
||||
using GLDEBUGPROCAMD = void(KHRONOS_APIENTRY*)(GLuint id,
|
||||
GLenum category,
|
||||
GLenum severity,
|
||||
|
||||
Reference in New Issue
Block a user