mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
i965/gen6/gs: Upload binding table for user-provided geometry shaders.
Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
5ac8294f9b
commit
7ccd47d644
1 changed files with 4 additions and 1 deletions
|
|
@ -215,7 +215,10 @@ gen6_upload_binding_table_pointers(struct brw_context *brw)
|
|||
GEN6_BINDING_TABLE_MODIFY_PS |
|
||||
(4 - 2));
|
||||
OUT_BATCH(brw->vs.base.bind_bo_offset); /* vs */
|
||||
OUT_BATCH(brw->ff_gs.bind_bo_offset); /* gs */
|
||||
if (brw->ff_gs.prog_active)
|
||||
OUT_BATCH(brw->ff_gs.bind_bo_offset); /* gs */
|
||||
else
|
||||
OUT_BATCH(brw->gs.base.bind_bo_offset); /* gs */
|
||||
OUT_BATCH(brw->wm.base.bind_bo_offset); /* wm/ps */
|
||||
ADVANCE_BATCH();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue