projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a6404
)
i965: fix gs_prog aperture check
author
Dave Airlie
<airlied@panoply-rh.(none)>
Fri, 18 Apr 2008 05:05:35 +0000
(15:05 +1000)
committer
Dave Airlie
<airlied@panoply-rh.(none)>
Fri, 18 Apr 2008 05:09:46 +0000
(15:09 +1000)
src/mesa/drivers/dri/i965/brw_gs.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_gs.c
b/src/mesa/drivers/dri/i965/brw_gs.c
index
8ad2762
..
9419315
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_gs.c
+++ b/
src/mesa/drivers/dri/i965/brw_gs.c
@@
-165,7
+165,7
@@
static void populate_key( struct brw_context *brw,
static int prepare_gs_prog( struct brw_context *brw )
{
struct brw_gs_prog_key key;
-
+ int ret = 0;
/* Populate the key:
*/
populate_key(brw, &key);
@@
-183,9
+183,11
@@
static int prepare_gs_prog( struct brw_context *brw )
&brw->gs.prog_data);
if (brw->gs.prog_bo == NULL)
compile_gs_prog( brw, &key );
+
+ ret |= dri_bufmgr_check_aperture_space(brw->gs.prog_bo);
}
- return
dri_bufmgr_check_aperture_space(brw->gs.prog_bo)
;
+ return
ret
;
}