summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-04-05 23:10:39 -0700
committerKenneth Graunke <[email protected]>2013-09-01 18:54:37 -0700
commit976d1d6665686cf6be6f3388a28c21516d94de76 (patch)
tree175c1e671136e67d98838a89eadd774835a0f277 /src/glsl
parenta3335417e3c1f8ef6947f7ae57e75e3df501cef5 (diff)
i965: Combine brw_emit_prim and gen7_emit_prim.
These functions have almost identical code; the only difference is that a few of the bits moved around. Adding a few trivial conditionals allows the same function to work on all generations, and the resulting code is still quite readable. v2: Comment that the workaround flush is only necessary on SNB (requested by Paul Berry). Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions