Skip to content

Commit e517dcf

Browse files
authored
Add Qualcomm feature flag, and some NFCs (#427)
This PR just adds the Qualcomm feature if the device is detected to be Qualcomm via apiquery.
1 parent 550c29c commit e517dcf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/lit.cfg.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ def setDeviceFeatures(config, device, compiler):
7979
config.available_features.add("NV-Reconvergence-Issue-320")
8080
if "AMD" in device["Description"]:
8181
config.available_features.add("%s-AMD" % API)
82+
if "Qualcomm" in device["Description"]:
83+
config.available_features.add("%s-QC" % API)
8284

8385
config.available_features.add("%s-%s" % (compiler, API))
8486

@@ -100,7 +102,6 @@ def setDeviceFeatures(config, device, compiler):
100102
config.available_features.add("Int16")
101103
config.available_features.add("Int64")
102104
config.available_features.add("Half")
103-
config.available_features.add("Int64")
104105

105106
if device["API"] == "Vulkan":
106107
if device["Features"].get("shaderInt16", False):
@@ -194,7 +195,7 @@ def setDeviceFeatures(config, device, compiler):
194195
target_device = device
195196
if device["API"] == "Vulkan" and config.offloadtest_enable_vulkan:
196197
target_device = device
197-
# Bail from th eloop if we found a device that matches what we're looking for.
198+
# Bail from the loop if we found a device that matches what we're looking for.
198199
if target_device:
199200
break
200201

0 commit comments

Comments
 (0)