diff options
author | Kenneth Graunke <[email protected]> | 2017-10-07 11:19:42 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-10-07 13:26:55 -0700 |
commit | 37e128b9b7fc99bc57edb031e0481658e524f1a4 (patch) | |
tree | 04fd13bb855c108b649f5830b6df29f579c6fd01 /src/compiler/spirv | |
parent | 5a47abb63e11853bf1f2f72e3c5371a720346b7d (diff) |
mesa: make glFramebuffer* check immutable texture level bounds
When a texture is immutable, we can't tack on extra levels
after-the-fact like we could with glTexImage. So check against that
level limit and return an error if it's surpassed.
This fixes:
KHR-GL45.geometry_shader.layered_fbo.fb_texture_invalid_level_number
(Based on a patch by Ilia Mirkin.)
Reviewed-by: Antia Puentes <[email protected]> [imirkin v2]
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
0 files changed, 0 insertions, 0 deletions