소스 검색

Fix texture types on Dx12

clementlandrin 1 년 전
부모
커밋
e669c9c83a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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:
 					}
 				}