Explorar o código

Fix texture types on Dx12

clementlandrin hai 1 ano
pai
achega
e669c9c83a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      h3d/impl/DX12Driver.hx

+ 2 - 0
h3d/impl/DX12Driver.hx

@@ -1063,6 +1063,8 @@ class DX12Driver extends h3d.impl.Driver {
 							for( i in 0...n )
 								allocConsts(1, vis, UAV);
 						}
+					case TSampler(_), TRWTexture(_):
+						regs.texturesTypes.push(v.type);
 					default:
 					}
 				}