testsuite: Be more resistant against rounding errors

Make a test use numbers that are less likely to cause rounding
issues in GPUs (read: use powers of 2).
This commit is contained in:
Benjamin Otte 2023-10-30 21:10:58 +01:00
parent bdb3e345c8
commit cc3e25b163

View File

@ -1,10 +1,10 @@
clip {
clip: 24995 24995 10 10;
clip: 16379 16379 10 10;
child: transform {
transform: translate(25000, 25000) rotate(90) translate(-25000, -25000);
transform: translate(16384, 16384) rotate(90) translate(-16384, -16384);
child: texture-scale {
texture: url("data:;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAKElEQVQYlWNkYGD4z4AG/v/HEGJgwhDBAQZQIQs2hzMyMtLBauorBACQUgcSISWLRgAAAABJRU5ErkJggg==");
bounds: 0 0 50000 50000;
bounds: 0 0 32768 32768;
filter: nearest;
}
}