Workbench: Remove unused framebuffer slot.
This commit is contained in:
parent
5c59244238
commit
f4261cd2ed
|
@ -26,9 +26,9 @@ layout(location=0) out uint objectId;
|
|||
layout(location=1) out vec4 materialData;
|
||||
#ifdef NORMAL_VIEWPORT_PASS_ENABLED
|
||||
# ifdef WORKBENCH_ENCODE_NORMALS
|
||||
layout(location=3) out vec2 normalViewport;
|
||||
layout(location=2) out vec2 normalViewport;
|
||||
# else /* WORKBENCH_ENCODE_NORMALS */
|
||||
layout(location=3) out vec3 normalViewport;
|
||||
layout(location=2) out vec3 normalViewport;
|
||||
# endif /* WORKBENCH_ENCODE_NORMALS */
|
||||
#endif /* NORMAL_VIEWPORT_PASS_ENABLED */
|
||||
|
||||
|
|
|
@ -409,7 +409,6 @@ void workbench_deferred_engine_init(WORKBENCH_Data *vedata)
|
|||
e_data.composite_buffer_tx = NULL;
|
||||
e_data.normal_buffer_tx = NULL;
|
||||
e_data.cavity_buffer_tx = NULL;
|
||||
e_data.metallic_buffer_tx = NULL;
|
||||
|
||||
e_data.color_buffer_tx = DRW_texture_pool_query_2D(size[0], size[1], GPU_RGBA8, &draw_engine_workbench_solid);
|
||||
e_data.composite_buffer_tx = DRW_texture_pool_query_2D(size[0], size[1], comp_tex_format, &draw_engine_workbench_solid);
|
||||
|
@ -427,7 +426,6 @@ void workbench_deferred_engine_init(WORKBENCH_Data *vedata)
|
|||
GPU_ATTACHMENT_TEXTURE(dtxl->depth),
|
||||
GPU_ATTACHMENT_TEXTURE(e_data.object_id_tx),
|
||||
GPU_ATTACHMENT_TEXTURE(e_data.color_buffer_tx),
|
||||
GPU_ATTACHMENT_TEXTURE(e_data.metallic_buffer_tx),
|
||||
GPU_ATTACHMENT_TEXTURE(e_data.normal_buffer_tx),
|
||||
});
|
||||
GPU_framebuffer_ensure_config(&fbl->cavity_fb, {
|
||||
|
|
Loading…
Reference in New Issue