summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/xform_args.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-11-29 17:52:31 -0800
committerKenneth Graunke <[email protected]>2014-01-31 17:50:06 -0800
commit17768bb7b428f367e351bf9bfa480bd0d4e57442 (patch)
tree7a3050a30390bb0076f2d8b5ba3fcaa4b131a403 /src/mesa/x86/xform_args.h
parent90fff1354b81ab880f1d2c2945c374ad6d8fe44f (diff)
i965: Replace DEPTH_STENCIL_STATE with Gen8's 3DSTATE_WM_DEPTH_STENCIL.
v2: Use stencil->_WriteEnabled instead of setting GEN8_WM_DS_STENCIL_BUFFER_WRITE_ENABLE twice (suggested by Eric). v3: Mask stencil->WriteMask and stencil->ValueMask with 0xff. The field is only 8-bits, so we'd trip the new SET_FIELD assertion when core Mesa gave us a value like 0xFFFFFFFF. The Gen7 code uses structure field widths to implicitly do this truncation. Fixes Piglit tests. v4: Use uint32_t for dw1/dw2, not uint8_t. Worst. Typo. Ever. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> [v2]
Diffstat (limited to 'src/mesa/x86/xform_args.h')
0 files changed, 0 insertions, 0 deletions