Commit 9dbd0b67 authored by Paul Berry's avatar Paul Berry

i965/blorp: De-virtualize brw_blorp_{mip,surface}_info::set() function.

Even though brw_blorp_surface_info is derived from brw_blorp_mip_info,
this function doesn't need to be virtual, because it is never accessed
through a base class pointer.  Making the function non-virtual will
allow it to take additional parameters in the brw_blorp_surface_info
case.
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 040d0157
......@@ -46,8 +46,8 @@ class brw_blorp_mip_info
public:
brw_blorp_mip_info();
virtual void set(struct intel_mipmap_tree *mt,
unsigned int level, unsigned int layer);
void set(struct intel_mipmap_tree *mt,
unsigned int level, unsigned int layer);
void get_draw_offsets(uint32_t *draw_x, uint32_t *draw_y) const;
void get_miplevel_dims(uint32_t *width, uint32_t *height) const
......@@ -66,8 +66,8 @@ class brw_blorp_surface_info : public brw_blorp_mip_info
public:
brw_blorp_surface_info();
virtual void set(struct intel_mipmap_tree *mt,
unsigned int level, unsigned int layer);
void set(struct intel_mipmap_tree *mt,
unsigned int level, unsigned int layer);
/* Setting this flag indicates that the buffer's contents are W-tiled
* stencil data, but the surface state should be set up for Y tiled
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment