File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
static/app/components/events/contexts/knownContext Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ enum GPUContextKeys {
1111 VENDOR_ID = 'vendor_id' ,
1212 VENDOR_NAME = 'vendor_name' ,
1313 MEMORY_SIZE = 'memory_size' ,
14+ DRIVER_VERSION = 'driver_version' ,
1415 API_TYPE = 'api_type' ,
1516 MULTI_THREAD_RENDERING = 'multi_threaded_rendering' ,
1617 NPOT_SUPPORT = 'npot_support' ,
@@ -31,6 +32,7 @@ export interface GPUContext {
3132 [ GPUContextKeys . VERSION ] ?: string ;
3233 [ GPUContextKeys . VENDOR_NAME ] ?: string ;
3334 [ GPUContextKeys . MEMORY_SIZE ] ?: number ;
35+ [ GPUContextKeys . DRIVER_VERSION ] ?: string ;
3436 [ GPUContextKeys . API_TYPE ] ?: string ;
3537 [ GPUContextKeys . MULTI_THREAD_RENDERING ] ?: boolean ;
3638 [ GPUContextKeys . NPOT_SUPPORT ] ?: string ;
@@ -98,6 +100,12 @@ export function getGPUContextData({
98100 subject : t ( 'Memory' ) ,
99101 value : data . memory_size ? formatMemory ( data . memory_size ) : undefined ,
100102 } ;
103+ case GPUContextKeys . DRIVER_VERSION :
104+ return {
105+ key : ctxKey ,
106+ subject : t ( 'Driver Version' ) ,
107+ value : data . driver_version ,
108+ } ;
101109 case GPUContextKeys . API_TYPE :
102110 return {
103111 key : ctxKey ,
You can’t perform that action at this time.
0 commit comments