diff options
author | Eric Anholt <[email protected]> | 2012-01-27 12:59:24 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-01-30 11:32:55 -0800 |
commit | 9195191e50429d9cf25e6498f9fb108758ac2be6 (patch) | |
tree | 395e36e47be17676e96f481b0755de60639c181e /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | e910241e9754b6e673ed0fc3133c8b1de56e76c7 (diff) |
i965/vs: Avoid allocating registers in to the gen7 MRF hack region.
This is the corresponding fix to the previous one for the FS, but I
don't have a particular test for it.
NOTE: This is a candidate for the 8.0 branch.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 2555fa71059..bc8b3923bc0 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -334,6 +334,7 @@ public: int virtual_grf_count; int virtual_grf_array_size; int first_non_payload_grf; + unsigned int max_grf; int *virtual_grf_def; int *virtual_grf_use; dst_reg userplane[MAX_CLIP_PLANES]; |