diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-08-21 22:51:38 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-08-22 14:49:16 +0100 |
commit | a1de6f48c3fa79bbc8f2514da19b3e01138e7093 (patch) | |
tree | 8e84e19ed59ee5a74bd54018a954625ff3a85cc4 /src/gallium/auxiliary/draw/draw_vs_llvm.c | |
parent | 8b15de2736976ed6095d6f36e22c66f9de43601d (diff) | |
download | external_mesa3d-a1de6f48c3fa79bbc8f2514da19b3e01138e7093.zip external_mesa3d-a1de6f48c3fa79bbc8f2514da19b3e01138e7093.tar.gz external_mesa3d-a1de6f48c3fa79bbc8f2514da19b3e01138e7093.tar.bz2 |
draw: reduce the size of the llvm variant key
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs_llvm.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs_llvm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_llvm.c b/src/gallium/auxiliary/draw/draw_vs_llvm.c index d13ad24..0014863 100644 --- a/src/gallium/auxiliary/draw/draw_vs_llvm.c +++ b/src/gallium/auxiliary/draw/draw_vs_llvm.c @@ -109,6 +109,11 @@ draw_create_vs_llvm(struct draw_context *draw, tgsi_scan_shader(state->tokens, &vs->base.info); + vs->variant_key_size = + draw_llvm_variant_key_size( + vs->base.info.file_max[TGSI_FILE_INPUT]+1, + vs->base.info.file_max[TGSI_FILE_SAMPLER]+1); + vs->base.draw = draw; vs->base.prepare = vs_llvm_prepare; vs->base.run_linear = vs_llvm_run_linear; |