46
Graphics / Re: time variation when loading textures of different sizes?
« on: April 07, 2022, 03:30:11 am »
then probably it is. thanks for the helo
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
big_tex loading time: 3089ms
small_tex[0] loading time: 41ms
small_tex[1] loading time: 13ms
small_tex[2] loading time: 27ms
small_tex[3] loading time: 13ms
small_tex[4] loading time: 10ms
small_tex[5] loading time: 12ms
small_tex[6] loading time: 10ms
small_tex[7] loading time: 11ms
small_tex[8] loading time: 12ms
small_tex[9] loading time: 12ms
small_tex[10] loading time: 12ms
small_tex[11] loading time: 12ms
small_tex[12] loading time: 11ms
small_tex[13] loading time: 11ms
small_tex[14] loading time: 12ms
small_tex[15] loading time: 42ms
total small_tex loading time: 268ms
big_tex loading time: 58ms
small_tex[0] loading time: 15ms
small_tex[1] loading time: 3ms
small_tex[2] loading time: 3ms
small_tex[3] loading time: 3ms
small_tex[4] loading time: 3ms
small_tex[5] loading time: 3ms
small_tex[6] loading time: 3ms
small_tex[7] loading time: 2ms
small_tex[8] loading time: 3ms
small_tex[9] loading time: 3ms
small_tex[10] loading time: 3ms
small_tex[11] loading time: 3ms
small_tex[12] loading time: 3ms
small_tex[13] loading time: 2ms
small_tex[14] loading time: 2ms
small_tex[15] loading time: 2ms
total small_tex loading time: 63ms
big_tex loading time: 179784 ms
small_tex[0] loading time: 8844 ms
small_tex[1] loading time: 43 ms
small_tex[2] loading time: 49 ms
small_tex[3] loading time: 61 ms
small_tex[4] loading time: 57 ms
small_tex[5] loading time: 60 ms
small_tex[6] loading time: 61 ms
small_tex[7] loading time: 63 ms
small_tex[8] loading time: 60 ms
small_tex[9] loading time: 59 ms
small_tex[10] loading time: 55 ms
small_tex[11] loading time: 57 ms
small_tex[12] loading time: 86 ms
small_tex[13] loading time: 1115 ms
small_tex[14] loading time: 2975 ms
small_tex[15] loading time: 1529 ms
Since the linked shader has a big #if around the main body, I wonder whether the version check fails and thus you get no main() function which the compiler expects and as it doesn't find it until the end of the file, it errors with said message.
Failed to compile vertex shader:
0:368(1): error: syntax error, unexpected end of file