vk: Emit 3DSTATE_SAMPLE_MASK
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Tue, 7 Jul 2015 05:21:51 +0000 (22:21 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Tue, 7 Jul 2015 06:54:12 +0000 (23:54 -0700)
commita1eea996d4f851a68e1ade138237f22be2749470
tree5e478d38b0ebd691ceec968d87fab78e07db4fe7
parentc325bb24b5b17ac94a7128335475ac82d20f4b35
vk: Emit 3DSTATE_SAMPLE_MASK

This was missing and was causing the driver to not work with
execlists. Presumably we get a different initial hw context with
execlists enabled, that has sample mask 0 initially.

Set this to 0xffff for now.  When we add MS support, we need to take the
value from VkPipelineMsStateCreateInfo::sampleMask.
src/vulkan/pipeline.c