From 93936b8643b9c4f77fe13d35b41ecaa246843dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 13 Nov 2017 23:25:46 +0100 Subject: GPUTexture: Add for stencil to default depth buffers. Theses will be used by eevee SSS. TODO: only allocate stencil if needed. --- source/blender/gpu/GPU_texture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_texture.h') diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index fa8ed992c72..82e215f6fae 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -162,6 +162,7 @@ GPUTexture *GPU_texture_create_cube_custom( GPUTexture *GPU_texture_create_depth(int w, int h, char err_out[256]); GPUTexture *GPU_texture_create_depth_with_stencil(int w, int h, char err_out[256]); GPUTexture *GPU_texture_create_depth_multisample(int w, int h, int samples, char err_out[256]); +GPUTexture *GPU_texture_create_depth_with_stencil_multisample(int w, int h, int samples, char err_out[256]); GPUTexture *GPU_texture_from_blender( struct Image *ima, struct ImageUser *iuser, int textarget, bool is_data, double time, int mipmap); -- cgit v1.2.3