Skip to content

mesa: change accepted formats by TexBufferRange

Maksym Wezdecki requested to merge mwezdeck/mesa:tex_buffer_range into main

Let's consider one format: GL_ALPHA16F_ARB.

  1. Create CORE profile GL context
  2. glTexImage2D accepts this format (please see glformats.c - _mesa_base_tex_format function)
  3. glTexBufferRange doesn't accept this format

This is not consistent.

This change is changing format validation in glTexBufferRange to be consistent with glTexImage2D format validation path.

Merge request reports

Loading