summaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-09-02 22:18:27 -0700
committerPaul Berry <[email protected]>2013-09-16 12:53:32 -0700
commit3a83b20dcccf21ec184e35bcfa9bc577379dfd51 (patch)
tree075fff01d4438826bf20efd0f6852595cc8e53c3 /.dir-locals.el
parent0af1252ae478a28a76326a5c5d784864327793e2 (diff)
i965/fs: Stop wasting input attribute space on gl_FragCoord and gl_FrontFacing.
Previously, if a fragment shader accessed gl_FragCoord or gl_FrontFacing, we would assign them their own slots in the fragment shader input attribute array, using up space that could be made available to real varyings. This was not strictly necessary (since these values are not true varyings, and are instead computed from other data available in the FS payload). But we had to do it anyway because the SF/SBE setup code assumed that every 1 bit in the gl_program::InputsRead bitfield corresponded to a genuine varying variable. Now that the SF/SBE code consults brw_wm_prog_data and only sets up the attributes that the fragment shader actually needs, we don't have to do this anymore. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions