فهرست منبع

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 {