Draw: Workbench Next: Fix shadow culling after recent cleanup commit
79ba1a1ac8
changed virtual function signatures so they didn't match their parents.
This commit is contained in:
parent
789ab9b92a
commit
361ebe98d5
|
@ -269,8 +269,10 @@ class ShadowPass {
|
|||
ShadowView();
|
||||
|
||||
protected:
|
||||
virtual void compute_visibility(ObjectBoundsBuf &bounds, uint resource_len);
|
||||
virtual VisibilityBuf &get_visibility_buffer();
|
||||
virtual void compute_visibility(ObjectBoundsBuf &bounds,
|
||||
uint resource_len,
|
||||
bool debug_freeze) override;
|
||||
virtual VisibilityBuf &get_visibility_buffer() override;
|
||||
} view_ = {};
|
||||
|
||||
bool enabled_;
|
||||
|
|
|
@ -202,8 +202,12 @@ void ShadowPass::ShadowView::set_mode(ShadowPass::PassType type)
|
|||
current_pass_type_ = type;
|
||||
}
|
||||
|
||||
void ShadowPass::ShadowView::compute_visibility(ObjectBoundsBuf &bounds, uint resource_len)
|
||||
void ShadowPass::ShadowView::compute_visibility(ObjectBoundsBuf &bounds,
|
||||
uint resource_len,
|
||||
bool debug_freeze)
|
||||
{
|
||||
UNUSED_VARS(debug_freeze);
|
||||
|
||||
GPU_debug_group_begin("ShadowView.compute_visibility");
|
||||
|
||||
uint word_per_draw = this->visibility_word_per_draw();
|
||||
|
|
Loading…
Reference in New Issue