i965g: fix some reloc counts
This commit is contained in:
@@ -150,7 +150,7 @@ cc_unit_create_from_key(struct brw_context *brw,
|
||||
|
||||
ret = brw_upload_cache(&brw->cache, BRW_CC_UNIT,
|
||||
key, sizeof(*key),
|
||||
reloc, Elements(reloc),
|
||||
reloc, 1,
|
||||
&cc, sizeof(cc),
|
||||
NULL, NULL,
|
||||
bo_out);
|
||||
|
||||
@@ -146,7 +146,7 @@ vs_unit_create_from_key(struct brw_context *brw,
|
||||
|
||||
ret = brw_upload_cache(&brw->cache, BRW_VS_UNIT,
|
||||
key, sizeof(*key),
|
||||
reloc, Elements(reloc),
|
||||
reloc, 1,
|
||||
&vs, sizeof(vs),
|
||||
NULL, NULL,
|
||||
bo_out);
|
||||
|
||||
@@ -162,7 +162,7 @@ brw_vs_get_binding_table(struct brw_context *brw,
|
||||
ret = brw_cache_data( &brw->surface_cache,
|
||||
BRW_SS_SURF_BIND,
|
||||
NULL, 0,
|
||||
reloc, Elements(reloc),
|
||||
reloc, nr_reloc,
|
||||
data, sizeof data,
|
||||
NULL, NULL,
|
||||
bo_out);
|
||||
|
||||
Reference in New Issue
Block a user