#include "lima_screen.h"
#include "lima_context.h"
+#include "lima_submit.h"
#include "lima_program.h"
#include "lima_bo.h"
#include "ir/lima_ir.h"
.lower_fsign = true,
.lower_rotate = true,
.lower_fdot = true,
+ .lower_fdph = true,
.lower_bitops = true,
.lower_vector_cmp = true,
};
return NULL;
}
+ so->uses_discard = nir->info.fs.uses_discard;
+
return so;
}
fs->shader = NULL;
}
- ctx->pp_max_stack_size = MAX2(ctx->pp_max_stack_size, ctx->fs->stack_size);
+ struct lima_submit *submit = lima_submit_get(ctx);
+ submit->pp_max_stack_size = MAX2(submit->pp_max_stack_size, ctx->fs->stack_size);
return true;
}
return NULL;
}
+ ralloc_free(nir);
+
return so;
}