Allow using hex formatting strings for custom constant buffer layouts

This commit is contained in:
baldurk
2016-11-02 23:39:35 +01:00
parent c2103ed2ba
commit 567a236034
3 changed files with 30 additions and 10 deletions
+2
View File
@@ -383,6 +383,8 @@ namespace renderdocui.Code
ret.columns = Math.Min(format.compCount, 4);
ret.rows = Math.Min(matrixdim, 4);
ret.displayAsHex = hex;
ret.members = new ShaderVariable[0] { };
ret.value.fv = new float[16];