aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gallium
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2020-09-25 14:54:56 +0200
committerMarge Bot <eric+marge@anholt.net>2020-09-28 07:54:25 +0000
commit9890927a84d44ffe6e14c107e896fd23e889814a (patch)
treed46738762feb57ae38a4256f8fa5a16800773995 /docs/gallium
parent33180434afcc706a3b6d7750087cdb42574b6bec (diff)
downloadexternal_mesa3d-9890927a84d44ffe6e14c107e896fd23e889814a.tar.gz
external_mesa3d-9890927a84d44ffe6e14c107e896fd23e889814a.tar.bz2
external_mesa3d-9890927a84d44ffe6e14c107e896fd23e889814a.zip
docs: behaviour -> behavior
Most of our documentation is US English, so let's stick to that. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6864>
Diffstat (limited to 'docs/gallium')
-rw-r--r--docs/gallium/context.rst4
-rw-r--r--docs/gallium/cso/rasterizer.rst6
-rw-r--r--docs/gallium/cso/sampler.rst2
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/gallium/context.rst b/docs/gallium/context.rst
index 2cd1e0e2122..8cf1f4fba25 100644
--- a/docs/gallium/context.rst
+++ b/docs/gallium/context.rst
@@ -605,10 +605,10 @@ is forever considered to be signaled.
Once a re-usable ``pipe_fence_handle`` becomes signaled, it can be reset
back into an unsignaled state. The ``pipe_fence_handle`` will be reset to
the unsignaled state by performing a wait operation on said object, i.e.
-``fence_server_sync``. As a corollary to this behaviour, a re-usable
+``fence_server_sync``. As a corollary to this behavior, a re-usable
``pipe_fence_handle`` can only have one waiter.
-This behaviour is useful in producer <-> consumer chains. It helps avoid
+This behavior is useful in producer <-> consumer chains. It helps avoid
unnecessarily sharing a new ``pipe_fence_handle`` each time a new frame is
ready. Instead, the fences are exchanged once ahead of time, and access is synchronized
through GPU signaling instead of direct producer <-> consumer communication.
diff --git a/docs/gallium/cso/rasterizer.rst b/docs/gallium/cso/rasterizer.rst
index 064360079e3..e75f5886d82 100644
--- a/docs/gallium/cso/rasterizer.rst
+++ b/docs/gallium/cso/rasterizer.rst
@@ -129,8 +129,8 @@ offset_units
Specifies the polygon offset bias
offset_units_unscaled
Specifies the unit of the polygon offset bias. If false, use the
- GL/D3D1X behaviour. If true, offset_units is a floating point offset
- which isn't scaled (D3D9). Note that GL/D3D1X behaviour has different
+ GL/D3D1X behavior. If true, offset_units is a floating point offset
+ which isn't scaled (D3D9). Note that GL/D3D1X behavior has different
formula whether the depth buffer is unorm or float, which is not
the case for D3D9.
offset_scale
@@ -235,7 +235,7 @@ point_smooth
points into circles or ovals.
point_size_per_vertex
Whether the vertex shader is expected to have a point size output.
- Undefined behaviour is permitted if there is disagreement between
+ Undefined behavior is permitted if there is disagreement between
this flag and the actual bound shader.
point_size
The size of points, if not specified per-vertex.
diff --git a/docs/gallium/cso/sampler.rst b/docs/gallium/cso/sampler.rst
index 9959793a332..2cccad5aa92 100644
--- a/docs/gallium/cso/sampler.rst
+++ b/docs/gallium/cso/sampler.rst
@@ -30,7 +30,7 @@ The wrap modes are:
scaling to the texture size. This corresponds to the legacy OpenGL GL_CLAMP
texture wrap mode. Historically, this mode hasn't acted consistantly across
all graphics hardware. It sometimes acts like CLAMP_TO_EDGE or
- CLAMP_TO_BORDER. The behaviour may also vary depending on linear vs.
+ CLAMP_TO_BORDER. The behavior may also vary depending on linear vs.
nearest sampling mode.
* ``PIPE_TEX_WRAP_MIRROR_REPEAT``: If the integer part of the coordinate
is odd, the coord becomes (1 - coord). Then, normal texture REPEAT is