浏览代码

Fix offset comment for inner struct in test.

Tex Riddell 6 年之前
父节点
当前提交
f682a58928
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tools/clang/test/CodeGenHLSL/batch/misc/d3dreflect/structured_buffer_layout.hlsl

+ 2 - 2
tools/clang/test/CodeGenHLSL/batch/misc/d3dreflect/structured_buffer_layout.hlsl

@@ -481,8 +481,8 @@
 #endif
 
 struct S0 {
-  int2 i2;    // CB: 16, SB: 4
-  float f;    // CB: 24, SB: 12
+  int2 i2;    // CB: 0, SB: 0
+  float f;    // CB: 8, SB: 8
 };
 
 struct S1 {