diff options
author | Eric Anholt <[email protected]> | 2014-09-19 10:06:49 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-19 11:09:04 -0700 |
commit | dcd03e74768bb4ba55b5742250f3ed15771b6f66 (patch) | |
tree | dc9b0ec1e5166452e45bb1c606da2ebc6cb435ee /src/gallium/drivers/vc4/vc4_qir.c | |
parent | f2c39dd0e19e83dac922878b00a4b871c839b609 (diff) |
vc4: Use the same method as for FRAG_Z to handle fragcoord W.
I need to get the non-reciprocal version of W for interpolation, anyway.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c index 6196b92e2e0..b4d6812311b 100644 --- a/src/gallium/drivers/vc4/vc4_qir.c +++ b/src/gallium/drivers/vc4/vc4_qir.c @@ -86,7 +86,7 @@ static const struct qir_op_info qir_op_info[] = { [QOP_FRAG_X] = { "frag_x", 1, 0 }, [QOP_FRAG_Y] = { "frag_y", 1, 0 }, [QOP_FRAG_Z] = { "frag_z", 1, 0 }, - [QOP_FRAG_RCP_W] = { "frag_rcp_w", 1, 0 }, + [QOP_FRAG_W] = { "frag_w", 1, 0 }, [QOP_TEX_S] = { "tex_s", 0, 2 }, [QOP_TEX_T] = { "tex_t", 0, 2 }, |