diff options
Diffstat (limited to 'tools/gfx')
| -rw-r--r-- | tools/gfx/cpu/cpu-device.cpp | 5 | ||||
| -rw-r--r-- | tools/gfx/cuda/cuda-device.cpp | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/gfx/cpu/cpu-device.cpp b/tools/gfx/cpu/cpu-device.cpp index 0db2b0fa7..4b8595e82 100644 --- a/tools/gfx/cpu/cpu-device.cpp +++ b/tools/gfx/cpu/cpu-device.cpp @@ -45,6 +45,11 @@ namespace cpu m_info.timestampFrequency = 1000000000; } + // Can support pointers (or something akin to that) + { + m_features.add("has-ptr"); + } + return SLANG_OK; } diff --git a/tools/gfx/cuda/cuda-device.cpp b/tools/gfx/cuda/cuda-device.cpp index bbf50cc58..7f931afa1 100644 --- a/tools/gfx/cuda/cuda-device.cpp +++ b/tools/gfx/cuda/cuda-device.cpp @@ -185,6 +185,9 @@ SLANG_NO_THROW SlangResult SLANG_MCALL DeviceImpl::initialize(const Desc& desc) // CUDA has support for realtime clock m_features.add("realtime-clock"); + + // Allows use of a ptr like type + m_features.add("has-ptr"); } cudaDeviceProp deviceProps; |
