Commit 89c69a2a authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Squeeze

parent 5676b584
......@@ -548,7 +548,7 @@ trans_make_fixed_blend_part(unsigned func, unsigned src_factor, unsigned dst_fac
} else if (dst_factor == complement_factor(src_factor)) {
part.dominant = MALI_BLEND_DOM_SOURCE;
part.nondominant_mode = MALI_BLEND_NON_MIRROR;
part.clip_modifier = MALI_BLEND_MOD_SRC_ONE;
part.clip_modifier = MALI_BLEND_MOD_SOURCE_ONE;
} else {
printf("Failed to find dominant factor?\n");
return false;
......@@ -808,7 +808,6 @@ trans_emit_vertex_data(struct panfrost_context *ctx)
attrs[i].size = buf->stride * (ctx->payload_vertex.draw_start + ctx->vertex_count);
attrs[i].elements = panfrost_upload(&ctx->cmdstream, rsrc->cpu[0] + buf->buffer_offset, attrs[i].size, false) | 1;
}
for (int i = 0; i < ctx->varying_count; ++i) {
varyings[i].elements = (ctx->varying_mem.gpu + ctx->varying_height) | 1;
......@@ -1696,7 +1695,6 @@ panfrost_resource_create(struct pipe_screen *screen,
return panfrost_resource_create_front(screen, templat, NULL);
}
static void
panfrost_resource_destroy(struct pipe_screen *screen,
struct pipe_resource *pt)
......@@ -1731,7 +1729,6 @@ panfrost_transfer_map(struct pipe_context *pctx,
*out_transfer = transfer;
/* If non-zero level, it's a mipmapped resource and needs to be treated as such */
rsrc->is_mipmap |= transfer->level;
......@@ -1800,7 +1797,6 @@ panfrost_create_blend_state(struct pipe_context *pipe,
return mem_dup(blend, sizeof(*blend));
}
static void
panfrost_bind_blend_state(struct pipe_context *pipe,
void *cso)
......@@ -1829,7 +1825,6 @@ panfrost_bind_blend_state(struct pipe_context *pipe,
ctx->dirty |= PAN_DIRTY_FS;
}
static void
panfrost_delete_blend_state(struct pipe_context *pipe,
void *blend)
......@@ -1837,7 +1832,6 @@ panfrost_delete_blend_state(struct pipe_context *pipe,
free(blend);
}
static void
panfrost_set_blend_color(struct pipe_context *pipe,
const struct pipe_blend_color *blend_color)
......@@ -1845,7 +1839,6 @@ panfrost_set_blend_color(struct pipe_context *pipe,
//struct panfrost_context *panfrost = panfrost_context(pipe);
}
static void *
panfrost_create_depth_stencil_state(struct pipe_context *pipe,
const struct pipe_depth_stencil_alpha_state *depth_stencil)
......@@ -1889,14 +1882,12 @@ panfrost_bind_depth_stencil_state(struct pipe_context *pipe,
ctx->dirty |= PAN_DIRTY_FS;
}
static void
panfrost_delete_depth_stencil_state(struct pipe_context *pipe, void *depth)
{
free( depth );
}
static void
panfrost_set_sample_mask(struct pipe_context *pipe,
unsigned sample_mask)
......@@ -1958,7 +1949,6 @@ panfrost_set_clip_state(struct pipe_context *pipe,
//struct panfrost_context *panfrost = panfrost_context(pipe);
}
static void
panfrost_set_viewport_states(struct pipe_context *pipe,
unsigned start_slot,
......@@ -1977,7 +1967,6 @@ panfrost_set_viewport_states(struct pipe_context *pipe,
/* TODO */
}
static void
panfrost_set_scissor_states(struct pipe_context *pipe,
unsigned start_slot,
......@@ -1998,7 +1987,6 @@ panfrost_set_scissor_states(struct pipe_context *pipe,
/* TODO */
}
static void
panfrost_set_polygon_stipple(struct pipe_context *pipe,
const struct pipe_poly_stipple *stipple)
......
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