Page MenuHome

David Li (dave1853)
User

Projects

User does not belong to any projects.

User Details

User Since
Mon, Jun 7, 4:38 AM (1 w, 2 d)

Recent Activity

Mon, Jun 7

David Li (dave1853) added a comment to T77651: ChromeOS: Black screen/window on startup: .

That works too! I tested on tag v2.93 with everything else unchanged from the original, including the texel_fetch function.
I supposed textureSize just doesn't work with sampler1DArray on my Chromebook.
Here is an updated build:
https://drive.google.com/file/d/1soWG84bfvP70cs8DVYroshS9FH75TCdu/view?usp=sharing

Mon, Jun 7, 8:40 PM · EEVEE & Viewport, BF Blender
David Li (dave1853) added a comment to T77651: ChromeOS: Black screen/window on startup: .

Commenting out those 4 lines allows v2.93 to work on my chromebook as well.
Here is a build of v2.93 for anyone who needs it:
https://drive.google.com/file/d/19PlYHfS-DK5V3E1GxiSIfYULDJaYnHoh/view?usp=sharing

Mon, Jun 7, 8:07 PM · EEVEE & Viewport, BF Blender
David Li (dave1853) added a comment to T77651: ChromeOS: Black screen/window on startup: .

Commenting out the size_x lines in texel_fetch seems to fix the issue. I think the driver doesn't like the textureSize call.

float texel_fetch(int index)
{
    // int size_x = textureSize(glyph, 0).r;
    // if (index >= size_x) {
    //     return texelFetch(glyph, ivec2(index % size_x, index / size_x), 0).r;
    // }
    return texelFetch(glyph, ivec2(index, 0), 0).r;
}

What do the lines I commented out do?
If they're meaningful, perhaps we work around this by passing the texture size in as a uniform.

Mon, Jun 7, 6:04 PM · EEVEE & Viewport, BF Blender
David Li (dave1853) added a comment to T77651: ChromeOS: Black screen/window on startup: .

I ran git bisect between 2.82a and 2.83 on my Acer Chromebook Spin 713.
The offending commit for me is 001f7c92d1452e01622f066d37bd42545b650a27.

Mon, Jun 7, 5:46 AM · EEVEE & Viewport, BF Blender