You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I found there is a possible issue. I think the expected vertex attribute result attr0 should be normalized and converted into linear color space.
if 0x01is the value in vertex buffer with location = 0 , and the final result of attr0 should be caculated as below:
float val_normalized = 1.0 / 255 = 0.003922
float attr0 = val_normalized / 12.92 = 0.003922 / 12.92 = 0.0003035
so the condition check statement should be fixed as below
The text was updated successfully, but these errors were encountered:
Jasonjunsu
changed the title
The expected result for vulkan input test with format VK_FORMAT_R8_SRGB
The expected result for vulkan vertex input test with format VK_FORMAT_R8_SRGB
Jan 9, 2025
Jasonjunsu
changed the title
The expected result for vulkan vertex input test with format VK_FORMAT_R8_SRGB
Bug Report: The expected result for vulkan vertex input test with format VK_FORMAT_R8_SRGB
Jan 9, 2025
Runing the vulkan CTS case, dEQP-VK.pipeline.monolithic.vertex_input.single_attribute.float.as_r8_srgb_rate_vertex. I got the VS as below
But I found there is a possible issue. I think the expected vertex attribute result attr0 should be normalized and converted into linear color space.
if 0x01is the value in vertex buffer with location = 0 , and the final result of attr0 should be caculated as below:
float val_normalized = 1.0 / 255 = 0.003922
float attr0 = val_normalized / 12.92 = 0.003922 / 12.92 = 0.0003035
so the condition check statement should be fixed as below
-->
The text was updated successfully, but these errors were encountered: