mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
i965: samplers group in fours in WM_STATE. fix bug#9415
This commit is contained in:
parent
7d33f94198
commit
64f1c91fcb
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ static void upload_wm_unit(struct brw_context *brw )
|
|||
wm.thread1.floating_point_mode = BRW_FLOATING_POINT_NON_IEEE_754;
|
||||
|
||||
/* CACHE_NEW_SAMPLER */
|
||||
wm.wm4.sampler_count = brw->wm.sampler_count;
|
||||
wm.wm4.sampler_count = (brw->wm.sampler_count + 1) / 4;
|
||||
wm.wm4.sampler_state_pointer = brw->wm.sampler_gs_offset >> 5;
|
||||
|
||||
/* BRW_NEW_FRAGMENT_PROGRAM */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue