commit | 214ad468a9b3363167e46e54533c93c3ca233f09 | [log] [tgz] |
---|---|---|
author | Mike Stroyan <mike@LunarG.com> | Thu Jan 15 11:27:12 2015 -0700 |
committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | Wed Feb 04 17:58:07 2015 -0700 |
tree | 748dbfbf33faa1d839022dd25c3277a0481caa39 | |
parent | 0fa44e2bbab3d323ad8ca5bb99d3f1d298ba96bb [diff] [blame] |
intel: Set gen7 stencil reference The stencil reference value for gen7 had uninitialized value.
diff --git a/icd/intel/cmd_pipeline.c b/icd/intel/cmd_pipeline.c index 81bdb8e..aacfd7f 100644 --- a/icd/intel/cmd_pipeline.c +++ b/icd/intel/cmd_pipeline.c
@@ -1384,6 +1384,7 @@ if (ds) { offset = gen6_DEPTH_STENCIL_STATE(cmd, ds); + stencil_ref = ds->cmd_stencil_ref; gen7_3dstate_pointer(cmd, GEN7_RENDER_OPCODE_3DSTATE_DEPTH_STENCIL_STATE_POINTERS, offset);