Exploit databaseDownload repository ZIP
GH-557a35ec88cecc5153df8ffeda95d1c2
bob11vrdp/cve-2022-39425
Sources for CVE-2022-39425
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files274
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- tests/
- accum.c
- accum.h
- api_arrayelt.c
- api_arrayelt.h
- api_exec.c
- api_exec.h
- api_loopback.c
- api_loopback.h
- api_validate.c
- api_validate.h
- arbprogram.c
- arbprogram.h
- arrayobj.c
- arrayobj.h
- atifragshader.c
- atifragshader.h
- attrib.c
- attrib.h
- barrier.c
- barrier.h
- bbox.c
- bbox.h
- blend.c
- blend.h
- blit.c
- blit.h
- bufferobj.c
- bufferobj.h
- buffers.c
- buffers.h
- clear.c
- clear.h
- clip.c
- clip.h
- colormac.h
- colortab.c
- colortab.h
- compiler.h
- compute.c
- compute.h
- condrender.c
- condrender.h
- config.h
- context.c
- context.h
- convolve.c
- convolve.h
- copyimage.c
- copyimage.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/mesa/main/shaderimage.h
Text · 3,232 bytes/*
* Copyright 2013 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
* Authors:
* Francisco Jerez <[email protected]>
*/
#ifndef SHADERIMAGE_H
#define SHADERIMAGE_H
#include "glheader.h"
#include "formats.h"
#ifdef __cplusplus
extern "C" {
#endif
struct gl_context;
/**
* Get the matching mesa_format for a shader image format GL enum.
*/
mesa_format
_mesa_get_shader_image_format(GLenum format);
/**
* Get the GL image format class for a shader image format GL enum
*/
GLenum
_mesa_get_image_format_class(GLenum format);
/**
* Return whether an image format should be supported based on the current API
* version of the context.
*/
bool
_mesa_is_shader_image_format_supported(const struct gl_context *ctx,
GLenum format);
/**
* Get a single image unit struct with the default state.
*/
struct gl_image_unit
_mesa_default_image_unit(struct gl_context *ctx);
/**
* Initialize a context's shader image units to the default state.
*/
void
_mesa_init_image_units(struct gl_context *ctx);
/**
* Return GL_TRUE if the state of the image unit passed as argument is valid
* and access from the shader is allowed. Otherwise loads from this unit
* should return zero and stores should have no effect.
*
* The result depends on context state other than the passed image unit, part
* of the _NEW_TEXTURE_OBJECT set.
*/
GLboolean
_mesa_is_image_unit_valid(struct gl_context *ctx, struct gl_image_unit *u);
void GLAPIENTRY
_mesa_BindImageTexture_no_error(GLuint unit, GLuint texture, GLint level,
GLboolean layered, GLint layer, GLenum access,
GLenum format);
void GLAPIENTRY
_mesa_BindImageTexture(GLuint unit, GLuint texture, GLint level,
GLboolean layered, GLint layer, GLenum access,
GLenum format);
void GLAPIENTRY
_mesa_BindImageTextures_no_error(GLuint first, GLsizei count,
const GLuint *textures);
void GLAPIENTRY
_mesa_BindImageTextures(GLuint first, GLsizei count, const GLuint *textures);
#ifdef __cplusplus
}
#endif
#endif