diff options
author | Jason Ekstrand <[email protected]> | 2015-10-21 12:03:21 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-21 14:20:32 -0700 |
commit | 0e57694745979286cda0cd414cc6d1f4efe5408b (patch) | |
tree | 050560903d0e7ed3e881c513410a2dad8b43941e /src/mesa/drivers/dri/i965/brw_inst.h | |
parent | f3bc73073af70a7fe4d2612c80bfb5ae5820b963 (diff) |
i965/gs: Do prog_data setup and other calculations in brw_compile_gs
This commit moves the large pile of setup calculations we have to do for
geometry shaders out of brw_gs_emit and into brw_compile_gs. This has a
couple of nice implications. First, it's less work that the caller of
brw_compile_gs has to do. Second, it's consistent with the vertex and
fragment stages. Finally, it allows us to put brw_gs_compile back behind
the API boundary where it belongs.
v2 (Jason Ekstrand):
- Pull the changes to use nir info into a separate patch
- Put brw_gs_compile into brw_shader.h rather than brw_vec4_gs_visitor.h
so that we can use it for scalar GS.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_inst.h')
0 files changed, 0 insertions, 0 deletions