aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_state_fs.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-12-06 14:16:52 +1000
committerDave Airlie <[email protected]>2019-12-12 09:16:24 +1000
commite35b2c37cd2c419ae92308cda49cc02fab823f8a (patch)
tree32f8e3a6691ed7a5919ba2c786fde922967c2113 /src/gallium/drivers/llvmpipe/lp_state_fs.c
parentb6f8c42846503f60e29187934b4b8acff3fb979b (diff)
llvmpipe/nir: handle texcoord requirements
Switch to using texcoord intrinsic support. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 75971f36bb2..846cdd69ae9 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -2987,7 +2987,7 @@ llvmpipe_create_fs_state(struct pipe_context *pipe,
shader->base.tokens = tgsi_dup_tokens(templ->tokens);
} else {
shader->base.ir.nir = templ->ir.nir;
- nir_tgsi_scan_shader(templ->ir.nir, &shader->info.base, false);
+ nir_tgsi_scan_shader(templ->ir.nir, &shader->info.base, true);
}
shader->draw_data = draw_create_fragment_shader(llvmpipe->draw, templ);