Преглед на файлове

fix imulExtended description

J.M. de Jong преди 2 години
родител
ревизия
116cfdf9b7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tutorials/shaders/shader_reference/shading_language.rst

+ 1 - 1
tutorials/shaders/shader_reference/shading_language.rst

@@ -1299,7 +1299,7 @@ is used, it can be scalar or vector.
 |                                                                             |                                                                     |
 |                                                                             |                                                                     |
 | uvec_type **findMSB** (uvec_type value)                                     |                                                                     |
 | uvec_type **findMSB** (uvec_type value)                                     |                                                                     |
 +-----------------------------------------------------------------------------+---------------------------------------------------------------------+
 +-----------------------------------------------------------------------------+---------------------------------------------------------------------+
-| void **imulExtended** (ivec_type x, ivec_type y, out ivec_type msb,         | Adds two 32-bit numbers and produce a 64-bit result.                |
+| void **imulExtended** (ivec_type x, ivec_type y, out ivec_type msb,         | Multiplies two 32-bit numbers and produce a 64-bit result.          |
 | out ivec_type lsb)                                                          | ``x`` - the first number.                                           |
 | out ivec_type lsb)                                                          | ``x`` - the first number.                                           |
 |                                                                             | ``y`` - the second number.                                          |
 |                                                                             | ``y`` - the second number.                                          |
 | void **umulExtended** (uvec_type x, uvec_type y, out uvec_type msb,         | ``msb`` - will contain the most significant bits.                   |
 | void **umulExtended** (uvec_type x, uvec_type y, out uvec_type msb,         | ``msb`` - will contain the most significant bits.                   |