anv: remove unused 3DSTATE_DEPTH_BOUNDS fields
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15763>
This commit is contained in:
committed by
Marge Bot
parent
dbfb0b4989
commit
3069337144
@@ -1294,8 +1294,6 @@ emit_ds_state(struct anv_graphics_pipeline *pipeline,
|
||||
if ((dynamic_states & (ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS |
|
||||
ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS_TEST_ENABLE)) == 0) {
|
||||
anv_batch_emit(&pipeline->base.batch, GENX(3DSTATE_DEPTH_BOUNDS), db) {
|
||||
db.DepthBoundsTestValueModifyDisable = false;
|
||||
db.DepthBoundsTestEnableModifyDisable = false;
|
||||
db.DepthBoundsTestEnable = pCreateInfo->depthBoundsTestEnable;
|
||||
db.DepthBoundsTestMinValue = pCreateInfo->minDepthBounds;
|
||||
db.DepthBoundsTestMaxValue = pCreateInfo->maxDepthBounds;
|
||||
|
||||
@@ -568,8 +568,6 @@ genX(cmd_buffer_flush_dynamic_state)(struct anv_cmd_buffer *cmd_buffer)
|
||||
ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS |
|
||||
ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS_TEST_ENABLE)) {
|
||||
anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DEPTH_BOUNDS), db) {
|
||||
db.DepthBoundsTestValueModifyDisable = false;
|
||||
db.DepthBoundsTestEnableModifyDisable = false;
|
||||
db.DepthBoundsTestEnable = d->depth_bounds_test_enable;
|
||||
db.DepthBoundsTestMinValue = d->depth_bounds.min;
|
||||
db.DepthBoundsTestMaxValue = d->depth_bounds.max;
|
||||
|
||||
Reference in New Issue
Block a user