projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
radeonsi: remove shader->input[] and output[] arrays and dependencies
[mesa.git]
/
src
/
gallium
/
drivers
/
radeon
/
radeon_setup_tgsi_llvm.c
diff --git
a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
index 119e613c5e55867a19af2c1c1563006751cbe1db..2fa23ed087c5d7996da3d28ffe4fa2c3f7824174 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
+++ b/
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
@@
-275,7
+275,8
@@
static void emit_declaration(
{
unsigned idx;
for (idx = decl->Range.First; idx <= decl->Range.Last; idx++) {
- ctx->load_input(ctx, idx, decl);
+ if (ctx->load_input)
+ ctx->load_input(ctx, idx, decl);
}
}
break;