wined3d: Add support for the ARB_depth_buffer_float extension.
This commit is contained in:
parent
06ebe936ac
commit
d3bc045f26
|
@ -63,6 +63,7 @@ static const struct {
|
||||||
|
|
||||||
/* ARB */
|
/* ARB */
|
||||||
{"GL_ARB_color_buffer_float", ARB_COLOR_BUFFER_FLOAT, 0 },
|
{"GL_ARB_color_buffer_float", ARB_COLOR_BUFFER_FLOAT, 0 },
|
||||||
|
{"GL_ARB_depth_buffer_float", ARB_DEPTH_BUFFER_FLOAT, 0 },
|
||||||
{"GL_ARB_depth_texture", ARB_DEPTH_TEXTURE, 0 },
|
{"GL_ARB_depth_texture", ARB_DEPTH_TEXTURE, 0 },
|
||||||
{"GL_ARB_draw_buffers", ARB_DRAW_BUFFERS, 0 },
|
{"GL_ARB_draw_buffers", ARB_DRAW_BUFFERS, 0 },
|
||||||
{"GL_ARB_fragment_program", ARB_FRAGMENT_PROGRAM, 0 },
|
{"GL_ARB_fragment_program", ARB_FRAGMENT_PROGRAM, 0 },
|
||||||
|
|
|
@ -1517,6 +1517,14 @@ BOOL (WINAPI *pwglShareLists)(HGLRC,HGLRC);
|
||||||
#endif
|
#endif
|
||||||
typedef void (WINE_GLAPI *PGLFNCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
|
typedef void (WINE_GLAPI *PGLFNCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
|
||||||
|
|
||||||
|
/* GL_ARB_depth_buffer_float */
|
||||||
|
#ifndef GL_ARB_depth_buffer_float
|
||||||
|
#define GL_ARB_depth_buffer_float 1
|
||||||
|
#define GL_DEPTH_COMPONENT32F 0x8cac
|
||||||
|
#define GL_DEPTH32F_STENCIL8 0x8cad
|
||||||
|
#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8dad
|
||||||
|
#endif
|
||||||
|
|
||||||
/* GL_ARB_depth_texture */
|
/* GL_ARB_depth_texture */
|
||||||
#ifndef GL_ARB_depth_texture
|
#ifndef GL_ARB_depth_texture
|
||||||
#define GL_ARB_depth_texture 1
|
#define GL_ARB_depth_texture 1
|
||||||
|
@ -3393,6 +3401,7 @@ typedef enum _GL_SupportedExt {
|
||||||
WINED3D_GL_EXT_NONE,
|
WINED3D_GL_EXT_NONE,
|
||||||
/* ARB */
|
/* ARB */
|
||||||
ARB_COLOR_BUFFER_FLOAT,
|
ARB_COLOR_BUFFER_FLOAT,
|
||||||
|
ARB_DEPTH_BUFFER_FLOAT,
|
||||||
ARB_DEPTH_TEXTURE,
|
ARB_DEPTH_TEXTURE,
|
||||||
ARB_DRAW_BUFFERS,
|
ARB_DRAW_BUFFERS,
|
||||||
ARB_FRAGMENT_PROGRAM,
|
ARB_FRAGMENT_PROGRAM,
|
||||||
|
|
Loading…
Reference in New Issue