summaryrefslogtreecommitdiff
path: root/tests/spec/arb_internalformat_query2
diff options
context:
space:
mode:
authorDavid Heidelberg <david.heidelberg@collabora.com>2022-05-09 20:31:52 +0200
committerDavid Heidelberg <david.heidelberg@collabora.com>2022-08-29 23:10:10 +0200
commitc10a0731c9402a257477efc30346e6bfad11ee53 (patch)
tree22041f2272fde783bc2d0b1976164e93bb1ec04c /tests/spec/arb_internalformat_query2
parentebb29325050d9ab602b878bac2218d22199f38c2 (diff)
fix the spelling in whole piglit
Reviewed-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/670>
Diffstat (limited to 'tests/spec/arb_internalformat_query2')
-rw-r--r--tests/spec/arb_internalformat_query2/common.c18
-rw-r--r--tests/spec/arb_internalformat_query2/generic-pname-checks.c2
-rw-r--r--tests/spec/arb_internalformat_query2/max-dimensions.c4
3 files changed, 12 insertions, 12 deletions
diff --git a/tests/spec/arb_internalformat_query2/common.c b/tests/spec/arb_internalformat_query2/common.c
index 67f04b133..ba27fac48 100644
--- a/tests/spec/arb_internalformat_query2/common.c
+++ b/tests/spec/arb_internalformat_query2/common.c
@@ -151,7 +151,7 @@ test_data_value_at_index(test_data *data,
{
if (index > data->params_size || index < 0) {
fprintf(stderr, "ERROR: invalid index while retrieving"
- " data from auxiliar test data\n");
+ " data from auxiliary test data\n");
return -1;
}
@@ -329,7 +329,7 @@ void print_failing_case_full(const GLenum target, const GLenum internalformat,
* the cases where the set of returned values is not specified in
* detail by the spec (like INTERNALFORMAT_PREFERRED). On that case,
* it is not tested the returned value, and just tested that if not
- * suppported, the returned value is the usupported value defined by
+ * supported, the returned value is the unsupported value defined by
* the spec.
*
*/
@@ -875,7 +875,7 @@ check_query2_target_dependencies(const GLenum target)
return true;
}
-/* Returns is @pname and @target dependencies are fullfilled */
+/* Returns is @pname and @target dependencies are fulfilled */
bool
check_query2_dependencies(const GLenum pname,
const GLenum target)
@@ -1010,7 +1010,7 @@ test_data_set_value_at_index(test_data *data,
{
if (index > data->params_size || index < 0) {
fprintf(stderr, "ERROR: invalid index while setting"
- " auxiliar test data\n");
+ " auxiliary test data\n");
return;
}
@@ -1027,18 +1027,18 @@ test_data_equal_at_index(test_data *data,
unsigned index)
{
if (data->testing64 != data_copy->testing64) {
- fprintf(stderr, "ERROR: trying to compare imcompatible"
- " auxiliar test data structures\n");
+ fprintf(stderr, "ERROR: trying to compare incompatible"
+ " auxiliary test data structures\n");
return false;
}
if (data->params_size != data_copy->params_size) {
- fprintf(stderr, "ERROR: trying to compare imcompatible"
- " auxiliar test data structures\n");
+ fprintf(stderr, "ERROR: trying to compare incompatible"
+ " auxiliary test data structures\n");
return false;
}
if (index > data->params_size) {
fprintf(stderr, "ERROR: invalid index while setting"
- " auxiliar test data\n");
+ " auxiliary test data\n");
return false;
}
diff --git a/tests/spec/arb_internalformat_query2/generic-pname-checks.c b/tests/spec/arb_internalformat_query2/generic-pname-checks.c
index bd44da038..bbb922920 100644
--- a/tests/spec/arb_internalformat_query2/generic-pname-checks.c
+++ b/tests/spec/arb_internalformat_query2/generic-pname-checks.c
@@ -244,7 +244,7 @@ piglit_display(void)
/*
* Executes try_basic on a list of pnames/possible values.
*
- * check_basic and try_basic are splitted because for some pnames, we
+ * check_basic and try_basic are split because for some pnames, we
* would need to check more than just try_basic.
*/
static bool
diff --git a/tests/spec/arb_internalformat_query2/max-dimensions.c b/tests/spec/arb_internalformat_query2/max-dimensions.c
index 50190d56d..881d36ea8 100644
--- a/tests/spec/arb_internalformat_query2/max-dimensions.c
+++ b/tests/spec/arb_internalformat_query2/max-dimensions.c
@@ -316,7 +316,7 @@ try(const GLenum *targets, unsigned num_targets,
value_test = test_data_is_unsupported_response(data, pname);
} else {
/*
- * If suppported and enough dimensions, we compare against the values
+ * If supported and enough dimensions, we compare against the values
* returned by GetInteger
*/
value_test = check_params_against_get_integer(data,
@@ -607,7 +607,7 @@ check_against_combined_dimensions(test_data *data,
*
* This method compares against zero if unsupported. If supported it
* computes the value using MAX_WIDTH, MAX_HEIGHT, MAX_DEPTH,
- * MAX_LAYERS and SAMPLES, and compare it agains the returned value.
+ * MAX_LAYERS and SAMPLES, and compare it against the returned value.
*/
static bool
try_max_combined_dimensions(const GLenum *targets, unsigned num_targets,