2
0
Эх сурвалжийг харах

[spirv] Fix array index out of bound in doc (#1516)

Lei Zhang 7 жил өмнө
parent
commit
4d6e2cfc64
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      docs/SPIR-V.rst

+ 1 - 1
docs/SPIR-V.rst

@@ -2926,7 +2926,7 @@ Appendix
 Appendix A. Matrix Representation
 ---------------------------------
 Consider a matrix in HLSL defined as ``float2x3 m;``. Conceptually, this is a matrix with 2 rows and 3 columns.
-This means that you can access its elements via expressions such as ``m[i][j]``, where ``i`` can be ``{0, 1}`` and ``j`` can be ``{1, 2, 3}``.
+This means that you can access its elements via expressions such as ``m[i][j]``, where ``i`` can be ``{0, 1}`` and ``j`` can be ``{0, 1, 2}``.
 
 Now let's look how matrices are defined in SPIR-V: