#include "pan_util.h"
#include "midgard/midgard_compile.h"
#include "compiler/nir/nir_builder.h"
-#include "midgard/nir_lower_blend.h"
+#include "nir/nir_lower_blend.h"
#include "gallium/auxiliary/util/u_blend.h"
#include "util/u_memory.h"
struct panfrost_blend_shader
panfrost_compile_blend_shader(
- struct panfrost_context *ctx,
- struct pipe_blend_state *cso,
- enum pipe_format format)
+ struct panfrost_context *ctx,
+ struct pipe_blend_state *cso,
+ enum pipe_format format)
{
struct panfrost_blend_shader res;
uint8_t *dst = program.compiled.data;
res.shader.cpu = mem_dup(dst, size);
- res.shader.gpu = panfrost_upload(&ctx->shaders, dst, size, true);
+ res.shader.gpu = panfrost_upload(&ctx->shaders, dst, size);
/* At least two work registers are needed due to an encoding quirk */
res.work_count = MAX2(program.work_register_count, 2);