EEVEE: Fix compiler warning
This commit is contained in:
parent
d1cbfc81bb
commit
1b0da28038
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user