mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
ir3: Insert frag coord code after preamble
To match the pre-preamble behavior, and so that we can better schedule it. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13148>
This commit is contained in:
parent
b6fe69d855
commit
42e21c751b
1 changed files with 1 additions and 1 deletions
|
|
@ -1825,7 +1825,7 @@ static struct ir3_instruction *
|
|||
get_frag_coord(struct ir3_context *ctx, nir_intrinsic_instr *intr)
|
||||
{
|
||||
if (!ctx->frag_coord) {
|
||||
struct ir3_block *b = ctx->in_block;
|
||||
struct ir3_block *b = ir3_after_preamble(ctx->ir);
|
||||
struct ir3_instruction *xyzw[4];
|
||||
struct ir3_instruction *hw_frag_coord;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue