gpu: add CompilationInfoCallback

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-24 23:21:07 -07:00 committed by Stephen Gutekanst
parent 8514687ca4
commit 302a3524cb
2 changed files with 2 additions and 1 deletions

View file

@ -74,6 +74,8 @@ pub const CompareFunction = enum(u32) {
always = 0x00000008,
};
pub const CompilationInfoCallback = fn (status: CompilationInfoRequestStatus, compilation_info: *const CompilationInfo, userdata: *anyopaque) callconv(.C) void;
pub const CompilationInfoRequestStatus = enum(u32) {
success = 0x00000000,
err = 0x00000001,