summaryrefslogtreecommitdiff
path: root/tools/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx')
-rw-r--r--tools/gfx/gfx.slang8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gfx/gfx.slang b/tools/gfx/gfx.slang
index 02e31fad2..d57b746db 100644
--- a/tools/gfx/gfx.slang
+++ b/tools/gfx/gfx.slang
@@ -4,13 +4,13 @@ namespace gfx
{
typedef slang.Result Result;
-typedef int64_t Int;
-typedef uint64_t UInt;
+typedef intptr_t Int;
+typedef uintptr_t UInt;
typedef uint64_t DeviceAddress;
typedef int GfxIndex;
typedef int GfxCount;
-typedef uint64_t Size;
-typedef uint64_t Offset;
+typedef intptr_t Size;
+typedef intptr_t Offset;
const uint64_t kTimeoutInfinite = 0xFFFFFFFFFFFFFFFF;