mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 05:38:16 +02:00
i965: fix gs_prog aperture check
This commit is contained in:
parent
f2a6404ef3
commit
e149e1b953
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue