Skip to content

Conversation

@ondracka
Copy link

@ondracka ondracka commented Jan 5, 2026

GL_RGB32F is not a valid parameter to teximage2D in gles2 context.

Components: OpenGL

Affected tests:
KHR-GLES2.core.internalformat.texture2d.rgb_float_rgb*

ArthurVasseur and others added 5 commits November 16, 2025 12:21
The LIMIT_FORMAT_BITMASK validation uses deUint32 for checking the
limit value but incorrectly casts to deUint64 when logging the actual
value. This causes incorrect values to be displayed in the logs.

This bug was originally introduced in c82c0fa (2016) and persisted
through the de* type removal in 1a09796 (2023).
VK-GL-CTS/framework/delibs/deutil/deProcess.c: In function 'deProcess_create':
VK-GL-CTS/framework/delibs/deutil/deProcess.c:141:16: error: incompatible types when returning type '_Bool' but 'deProcess *' {aka 'struct deProcess_s *'} was expected
  141 |         return false;
      |                ^~~~~

Signed-off-by: _VIFEXTech <[email protected]>
…nt64-cast

fix: incorrect uint64_t cast in bitmask limit validation
…rn_false

Fixed the error in the return value type of deProcess_create
GL_RGB32F is not a valid parameter to teximage2D in gles2 context.

Components: OpenGL

Affected tests:
KHR-GLES2.core.internalformat.texture2d.rgb_float_rgb*
@CLAassistant
Copy link

CLAassistant commented Jan 5, 2026

CLA assistant check
All committers have signed the CLA.

@ondracka
Copy link
Author

ondracka commented Jan 6, 2026

Alternative fix could be to require OES_required_internalformat here.

EDIT: or maybe not, the OES_texture_float extends the table 3.4, but adds neither the fourth internal format column (intriduced by OES_required_internalformat) nor the required enums... so my reading is GL_RGB32F is not valid even with OES_required_internalformat, but to be honest I'm not sure anymore.

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

Successfully merging this pull request may close these issues.

5 participants