Browse Source

Separate dx11 and dx12 cache file

clementlandrin 1 year ago
parent
commit
3f87c4bae0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hxsl/CacheFile.hx

+ 2 - 0
hxsl/CacheFile.hx

@@ -53,6 +53,8 @@ class CacheFile extends Cache {
 		return Sys.systemName().toLowerCase();
 		#elseif hlsdl
 		return "gl";
+		#elseif (hldx && dx12)
+		return "dx12";
 		#elseif hldx
 		return "dx";
 		#elseif hlnx