aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows/gdi
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-03-27 10:34:55 -0700
committerPaul Berry <[email protected]>2013-08-31 17:11:49 -0700
commit27eecefc670c8b9e75f8520df7c9c7846923bf20 (patch)
tree3299ba2561a86ddebb1bb1f190b88e6e8fd0c4d5 /src/mesa/drivers/windows/gdi
parentdf62421382c39678ac014e88cee7c73c64d42107 (diff)
i965/gs: Allocate push constant space for use by GS.
Previously, we would always use the same push constant allocation regardless of what shader programs were being run: the available push constant space was split into 2 equal size partitions, one for the vertex shader, and one for the fragment shader. Now that we are adding geometry shader support, we need to do something smarter. This patch adjusts things so that when a geometry shader is in use, we split the available push constant space into 3 nearly-equal size partitions instead of 2. Since the push constant allocation is now affected by GL state, it can no longer be set up by brw_upload_initial_gpu_state(); instead it must be set up by a state atom. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/windows/gdi')
0 files changed, 0 insertions, 0 deletions