summaryrefslogtreecommitdiffhomepage
path: root/dev/LibSCI/GPU.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-12 08:17:05 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-12 08:17:05 +0100
commit701ab62ee9e3d723e01223f38ebd4d1804f6f2ad (patch)
treec605a779279e37bb5a9a4038f900e1a43b575a56 /dev/LibSCI/GPU.h
parent22b7b4427fd01384aad23b4669427aab75d32a42 (diff)
ADD: Close to a final AHCI product.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibSCI/GPU.h')
-rw-r--r--dev/LibSCI/GPU.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/LibSCI/GPU.h b/dev/LibSCI/GPU.h
index 6ee937f5..fee621e6 100644
--- a/dev/LibSCI/GPU.h
+++ b/dev/LibSCI/GPU.h
@@ -10,7 +10,7 @@ Purpose: GFX System Calls.
#ifndef SCIKIT_GPU_H
#define SCIKIT_GPU_H
-#include <SCI.h>
+#include <LibSCI/SCI.h>
struct GPUCmdBuffer;
@@ -31,7 +31,7 @@ struct GPUCmdBuffer final
Bool isGPGPUData()
{
- return !this->BufferFirst && this->IsGPGPUData;
+ return this->isValid() && !this->BufferFirst && this->IsGPGPUData;
}
Bool isValid()