Browse Source

DX12 : Fixed root signature in HLSL with UAV

TothBenoit 1 year ago
parent
commit
01524e71cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h3d/impl/DX12Driver.hx

+ 1 - 1
h3d/impl/DX12Driver.hx

@@ -1062,7 +1062,7 @@ class DX12Driver extends h3d.impl.Driver {
 						s += 'DescriptorTable(Sampler(s${baseShaderRegister}, space=${descRange.registerSpace}, numDescriptors = ${descRange.numDescriptors}), visibility = ${vis}),';
 					case UAV:
 						var reg = descRange.baseShaderRegister;
-						s += 'UAV(u${reg}, visibility = ${vis})';
+						s += 'UAV(u${reg}, visibility = ${vis}),';
 					}
 				} catch ( e : Dynamic ) {
 					continue;