brw->intel.vtbl.is_hiz_depth_format = brw_is_hiz_depth_format;
if (brw->intel.has_hiz) {
- brw->intel.vtbl.hiz_resolve_hizbuffer = gen6_hiz_resolve_hizbuffer;
- brw->intel.vtbl.hiz_resolve_depthbuffer = gen6_hiz_resolve_depthbuffer;
+ brw->intel.vtbl.resolve_depth_slice = gen6_resolve_depth_slice;
+ brw->intel.vtbl.resolve_hiz_slice = gen6_resolve_hiz_slice;
}
if (brw->intel.gen >= 7) {
#include "gen6_hiz.h"
-#include <assert.h>
-
void
-gen6_hiz_resolve_depthbuffer(struct intel_context *intel,
- struct intel_region *depth_region)
+gen6_resolve_hiz_slice(struct intel_context *intel,
+ struct intel_mipmap_tree *mt,
+ uint32_t level,
+ uint32_t layer)
{
- assert("!stub");
+ /* FINISHME: stub */
}
void
-gen6_hiz_resolve_hizbuffer(struct intel_context *intel,
- struct intel_region *depth_region)
+gen6_resolve_depth_slice(struct intel_context *intel,
+ struct intel_mipmap_tree *mt,
+ uint32_t level,
+ uint32_t layer)
{
- assert("!stub");
+ /* FINISHME: stub */
}
#pragma once
+#include <stdint.h>
+
struct intel_context;
-struct intel_region;
+struct intel_mipmap_tree;
void
-gen6_hiz_resolve_depthbuffer(struct intel_context *intel,
- struct intel_region *depth_region);
+gen6_resolve_hiz_slice(struct intel_context *intel,
+ struct intel_mipmap_tree *mt,
+ uint32_t level,
+ uint32_t layer);
void
-gen6_hiz_resolve_hizbuffer(struct intel_context *intel,
- struct intel_region *depth_region);
+gen6_resolve_depth_slice(struct intel_context *intel,
+ struct intel_mipmap_tree *mt,
+ uint32_t level,
+ uint32_t layer);
* - 7.5.3.3 Hierarchical Depth Buffer Resolve
* \{
*/
- void (*hiz_resolve_depthbuffer)(struct intel_context *intel,
- struct intel_region *depth_region);
- void (*hiz_resolve_hizbuffer)(struct intel_context *intel,
- struct intel_region *depth_region);
+ void (*resolve_hiz_slice)(struct intel_context *intel,
+ struct intel_mipmap_tree *mt,
+ uint32_t level,
+ uint32_t layer);
+
+ void (*resolve_depth_slice)(struct intel_context *intel,
+ struct intel_mipmap_tree *mt,
+ uint32_t level,
+ uint32_t layer);
/** \} */
/**