i965g: use correct key size for vs upload

This commit is contained in:
Keith Whitwell 2009-11-23 01:47:57 +00:00
parent 21172d4358
commit 968a7dfb29
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static enum pipe_error do_vs_prog( struct brw_context *brw,
return ret;
ret = brw_upload_cache( &brw->cache, BRW_VS_PROG,
&c.key, sizeof(c.key),
&c.key, brw_vs_prog_key_size(&c.key),
NULL, 0,
program, program_size,
&c.prog_data,