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/atifragshader.h
Text · 3,265 bytes/*
* Mesa 3-D graphics library ATI Fragment Shader
*
* Copyright (C) 2004 David Airlie All Rights Reserved.
*
*/
#ifndef ATIFRAGSHADER_H
#define ATIFRAGSHADER_H
#include "glheader.h"
struct gl_context;
#define MAX_NUM_INSTRUCTIONS_PER_PASS_ATI 8
#define MAX_NUM_PASSES_ATI 2
#define MAX_NUM_FRAGMENT_REGISTERS_ATI 6
#define MAX_NUM_FRAGMENT_CONSTANTS_ATI 8
struct ati_fs_opcode_st
{
GLenum opcode;
GLint num_src_args;
};
struct atifragshader_src_register
{
GLuint Index;
GLuint argRep;
GLuint argMod;
};
struct atifragshader_dst_register
{
GLuint Index;
GLuint dstMod;
GLuint dstMask;
};
#define ATI_FRAGMENT_SHADER_COLOR_OP 0
#define ATI_FRAGMENT_SHADER_ALPHA_OP 1
#define ATI_FRAGMENT_SHADER_PASS_OP 2
#define ATI_FRAGMENT_SHADER_SAMPLE_OP 3
/* two opcodes - one for color/one for alpha */
/* up to three source registers for most ops */
struct atifs_instruction
{
GLenum Opcode[2];
GLuint ArgCount[2];
struct atifragshader_src_register SrcReg[2][3];
struct atifragshader_dst_register DstReg[2];
};
/* different from arithmetic shader instruction */
struct atifs_setupinst
{
GLenum Opcode;
GLuint src;
GLenum swizzle;
};
extern struct ati_fragment_shader *
_mesa_new_ati_fragment_shader(struct gl_context *ctx, GLuint id);
extern void
_mesa_delete_ati_fragment_shader(struct gl_context *ctx,
struct ati_fragment_shader *s);
extern GLuint GLAPIENTRY _mesa_GenFragmentShadersATI(GLuint range);
extern void GLAPIENTRY _mesa_BindFragmentShaderATI(GLuint id);
extern void GLAPIENTRY _mesa_DeleteFragmentShaderATI(GLuint id);
extern void GLAPIENTRY _mesa_BeginFragmentShaderATI(void);
extern void GLAPIENTRY _mesa_EndFragmentShaderATI(void);
extern void GLAPIENTRY
_mesa_PassTexCoordATI(GLuint dst, GLuint coord, GLenum swizzle);
extern void GLAPIENTRY
_mesa_SampleMapATI(GLuint dst, GLuint interp, GLenum swizzle);
extern void GLAPIENTRY
_mesa_ColorFragmentOp1ATI(GLenum op, GLuint dst, GLuint dstMask,
GLuint dstMod, GLuint arg1, GLuint arg1Rep,
GLuint arg1Mod);
extern void GLAPIENTRY
_mesa_ColorFragmentOp2ATI(GLenum op, GLuint dst, GLuint dstMask,
GLuint dstMod, GLuint arg1, GLuint arg1Rep,
GLuint arg1Mod, GLuint arg2, GLuint arg2Rep,
GLuint arg2Mod);
extern void GLAPIENTRY
_mesa_ColorFragmentOp3ATI(GLenum op, GLuint dst, GLuint dstMask,
GLuint dstMod, GLuint arg1, GLuint arg1Rep,
GLuint arg1Mod, GLuint arg2, GLuint arg2Rep,
GLuint arg2Mod, GLuint arg3, GLuint arg3Rep,
GLuint arg3Mod);
extern void GLAPIENTRY
_mesa_AlphaFragmentOp1ATI(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1,
GLuint arg1Rep, GLuint arg1Mod);
extern void GLAPIENTRY
_mesa_AlphaFragmentOp2ATI(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1,
GLuint arg1Rep, GLuint arg1Mod, GLuint arg2,
GLuint arg2Rep, GLuint arg2Mod);
extern void GLAPIENTRY
_mesa_AlphaFragmentOp3ATI(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1,
GLuint arg1Rep, GLuint arg1Mod, GLuint arg2,
GLuint arg2Rep, GLuint arg2Mod, GLuint arg3,
GLuint arg3Rep, GLuint arg3Mod);
extern void GLAPIENTRY
_mesa_SetFragmentShaderConstantATI(GLuint dst, const GLfloat * value);
#endif /* ATIFRAGSHADER_H */