freedreno/a6xx: Small cleanup
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6900>
This commit is contained in:
@@ -226,7 +226,7 @@ PC_UNKNOWN_9805:
|
|||||||
* here. */
|
* here. */
|
||||||
pctx->delete_rasterizer_state = fd6_rasterizer_state_delete;
|
pctx->delete_rasterizer_state = fd6_rasterizer_state_delete;
|
||||||
pctx->delete_blend_state = fd6_blend_state_delete;
|
pctx->delete_blend_state = fd6_blend_state_delete;
|
||||||
pctx->delete_depth_stencil_alpha_state = fd6_depth_stencil_alpha_state_delete;
|
pctx->delete_depth_stencil_alpha_state = fd6_zsa_state_delete;
|
||||||
|
|
||||||
/* initial sizes for VSC buffers (or rather the per-pipe sizes
|
/* initial sizes for VSC buffers (or rather the per-pipe sizes
|
||||||
* which is used to derive entire buffer size:
|
* which is used to derive entire buffer size:
|
||||||
|
@@ -88,6 +88,7 @@ update_lrz_stencil(struct fd6_zsa_stateobj *so, enum pipe_compare_func func,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
fd6_zsa_state_create(struct pipe_context *pctx,
|
fd6_zsa_state_create(struct pipe_context *pctx,
|
||||||
const struct pipe_depth_stencil_alpha_state *cso)
|
const struct pipe_depth_stencil_alpha_state *cso)
|
||||||
@@ -225,7 +226,7 @@ fd6_zsa_state_create(struct pipe_context *pctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
fd6_depth_stencil_alpha_state_delete(struct pipe_context *pctx, void *hwcso)
|
fd6_zsa_state_delete(struct pipe_context *pctx, void *hwcso)
|
||||||
{
|
{
|
||||||
struct fd6_zsa_stateobj *so = hwcso;
|
struct fd6_zsa_stateobj *so = hwcso;
|
||||||
|
|
||||||
|
@@ -75,7 +75,7 @@ fd6_zsa_state(struct fd_context *ctx, bool no_alpha, bool depth_clamp)
|
|||||||
void * fd6_zsa_state_create(struct pipe_context *pctx,
|
void * fd6_zsa_state_create(struct pipe_context *pctx,
|
||||||
const struct pipe_depth_stencil_alpha_state *cso);
|
const struct pipe_depth_stencil_alpha_state *cso);
|
||||||
|
|
||||||
void fd6_depth_stencil_alpha_state_delete(struct pipe_context *pctx,
|
void fd6_zsa_state_delete(struct pipe_context *pctx,
|
||||||
void *hwcso);
|
void *hwcso);
|
||||||
|
|
||||||
#endif /* FD6_ZSA_H_ */
|
#endif /* FD6_ZSA_H_ */
|
||||||
|
Reference in New Issue
Block a user