mesa: add KHR_no_error support for NamedFramebufferTextureLayer
v3: use frame_buffer_texture_layer() helper Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -178,7 +178,7 @@
|
||||
<param name="level" type="GLint" />
|
||||
</function>
|
||||
|
||||
<function name="NamedFramebufferTextureLayer">
|
||||
<function name="NamedFramebufferTextureLayer" no_error="true">
|
||||
<param name="framebuffer" type="GLuint" />
|
||||
<param name="attachment" type="GLenum" />
|
||||
<param name="texture" type="GLuint" />
|
||||
|
||||
@@ -3516,6 +3516,18 @@ _mesa_FramebufferTextureLayer(GLenum target, GLenum attachment,
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_NamedFramebufferTextureLayer_no_error(GLuint framebuffer,
|
||||
GLenum attachment,
|
||||
GLuint texture, GLint level,
|
||||
GLint layer)
|
||||
{
|
||||
frame_buffer_texture_layer(framebuffer, 0, attachment, texture, level,
|
||||
layer, "glNamedFramebufferTextureLayer", true,
|
||||
true);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_NamedFramebufferTextureLayer(GLuint framebuffer, GLenum attachment,
|
||||
GLuint texture, GLint level, GLint layer)
|
||||
|
||||
@@ -249,6 +249,11 @@ _mesa_FramebufferTextureLayer(GLenum target, GLenum attachment,
|
||||
GLuint texture, GLint level, GLint layer);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_NamedFramebufferTextureLayer_no_error(GLuint framebuffer,
|
||||
GLenum attachment,
|
||||
GLuint texture, GLint level,
|
||||
GLint layer);
|
||||
extern void GLAPIENTRY
|
||||
_mesa_NamedFramebufferTextureLayer(GLuint framebuffer, GLenum attachment,
|
||||
GLuint texture, GLint level, GLint layer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user