diff options
-rw-r--r-- | source/blender/draw/engines/eevee_next/eevee_instance.cc | 3 | ||||
-rw-r--r-- | source/blender/draw/engines/eevee_next/eevee_pipeline.cc | 1 | ||||
-rw-r--r-- | source/blender/draw/engines/eevee_next/eevee_sync.cc | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee_next/eevee_instance.cc b/source/blender/draw/engines/eevee_next/eevee_instance.cc index 5842e28e1b9..f03bd9d0692 100644 --- a/source/blender/draw/engines/eevee_next/eevee_instance.cc +++ b/source/blender/draw/engines/eevee_next/eevee_instance.cc @@ -41,6 +41,7 @@ void Instance::init(const int2 &output_res, const View3D *v3d_, const RegionView3D *rv3d_) { + UNUSED_VARS(light_probe_, camera_object_, output_rect); render = render_; depsgraph = depsgraph_; render_layer = render_layer_; @@ -163,10 +164,12 @@ void Instance::render_sample(void) void Instance::render_frame(RenderLayer *render_layer, const char *view_name) { + UNUSED_VARS(render_layer, view_name); } void Instance::draw_viewport(DefaultFramebufferList *dfbl) { + UNUSED_VARS(dfbl); render_sample(); } diff --git a/source/blender/draw/engines/eevee_next/eevee_pipeline.cc b/source/blender/draw/engines/eevee_next/eevee_pipeline.cc index dacd335d0c6..96415f6ae0f 100644 --- a/source/blender/draw/engines/eevee_next/eevee_pipeline.cc +++ b/source/blender/draw/engines/eevee_next/eevee_pipeline.cc @@ -184,6 +184,7 @@ void ForwardPipeline::render(const DRWView *view, GPUTexture *depth_tx, GPUTexture *UNUSED(combined_tx)) { + UNUSED_VARS(view, depth_tx); // HiZBuffer &hiz = inst_.hiz_front; DRW_stats_group_start("ForwardOpaque"); diff --git a/source/blender/draw/engines/eevee_next/eevee_sync.cc b/source/blender/draw/engines/eevee_next/eevee_sync.cc index 1092a7baaa9..efa5fdc89ab 100644 --- a/source/blender/draw/engines/eevee_next/eevee_sync.cc +++ b/source/blender/draw/engines/eevee_next/eevee_sync.cc @@ -128,6 +128,8 @@ void SyncModule::sync_mesh(Object *ob, ObjectHandle &ob_handle) is_shadow_caster = is_shadow_caster || material->shadow.shgrp != nullptr; is_alpha_blend = is_alpha_blend || material->is_alpha_blend_transparent; } + + UNUSED_VARS(ob_handle); // shading_passes.velocity.mesh_add(ob, ob_handle); // shadows.sync_object(ob, ob_handle, is_shadow_caster, is_alpha_blend); @@ -257,6 +259,7 @@ void SyncModule::sync_gpencil(Object *ob, ObjectHandle &ob_handle) gpencil_drawcall_flush(iter); + UNUSED_VARS(ob_handle); /* TODO(fclem) Gpencil velocity. */ // shading_passes.velocity.gpencil_add(ob, ob_handle); @@ -306,6 +309,7 @@ void SyncModule::sync_curves(Object *ob, ObjectHandle &ob_handle, ModifierData * shgroup_curves_call(material.shading, ob, part_sys, modifier_data); shgroup_curves_call(material.prepass, ob, part_sys, modifier_data); shgroup_curves_call(material.shadow, ob, part_sys, modifier_data); + UNUSED_VARS(ob_handle); /* TODO(fclem) Hair velocity. */ // shading_passes.velocity.gpencil_add(ob, ob_handle); |