Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture formats on Quest #867

Open
maluoi opened this issue Feb 21, 2024 · 0 comments
Open

Texture formats on Quest #867

maluoi opened this issue Feb 21, 2024 · 0 comments

Comments

@maluoi
Copy link
Collaborator

maluoi commented Feb 21, 2024

Description

TestTextures.cs fails on a few formats/sizes when run on Quest 3. Seems to be mostly the odd sizes on a couple formats, but also the BGRA format, which fails a bit differently from the others.

Platform / Environment

Android / Quest 3

Logs or exception details

The commented out tests here all crash on Quest 3

testTextures.Add(MakeTest(TexFormat.Rgba32,       new Color32(255,0,0,255), new Color32(0,0,0,255), w,  h ));
testTextures.Add(MakeTest(TexFormat.Rgba32Linear, new Color32(255,0,0,255), new Color32(0,0,0,255), ow, oh));
//testTextures.Add(MakeTest(TexFormat.Bgra32,       new Color32(0,0,255,255), new Color32(0,0,0,255), w,  h ));
//testTextures.Add(MakeTest(TexFormat.Bgra32Linear, new Color32(0,0,255,255), new Color32(0,0,0,255), ow, oh));
testTextures.Add(MakeTest(TexFormat.Rgba64f,      on64, off64, w,  h ));
testTextures.Add(MakeTest(TexFormat.Rgba64f,      on64, off64, ow, oh));
testTextures.Add(MakeTest(TexFormat.Rgba128,      new Color(1,0,0,1), new Color(0,0,0,1), w,  h ));
testTextures.Add(MakeTest(TexFormat.Rgba128,      new Color(1,0,0,1), new Color(0,0,0,1), ow, oh));
testTextures.Add(MakeTest(TexFormat.R8,           (byte)255, (byte)0, w,  h ));
//testTextures.Add(MakeTest(TexFormat.R8,           (byte)255, (byte)0, ow, oh));
testTextures.Add(MakeTest(TexFormat.R16f,         on16, off16, w,  h ));
//testTextures.Add(MakeTest(TexFormat.R16f,         on16, off16, ow, oh));
testTextures.Add(MakeTest(TexFormat.R16u,         ushort.MaxValue, (ushort)0, w,  h ));
//testTextures.Add(MakeTest(TexFormat.R16u,         ushort.MaxValue, (ushort)0, ow, oh));
testTextures.Add(MakeTest(TexFormat.R32,          1.0f, 0, w,  h ));
testTextures.Add(MakeTest(TexFormat.R32,          1.0f, 0, ow, oh));
testTextures.Add(MakeTest(TexFormat.R8g8,         onRG, offRG, w,  h ));
testTextures.Add(MakeTest(TexFormat.R8g8,         onRG, offRG, ow, oh));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant