Kristian Høgsberg Kristensen
bdefaae2b9
anv: Deduplicate anv_CmdDraw calls
...
These were all duplicated between gen7_cmd_buffer.c and
gen8_cmd_buffer.c. This commit consolidates both copies in
genX_cmd_buffer.c.
2016-02-05 16:41:56 -08:00
Kristian Høgsberg Kristensen
ac60e98a58
vk: Do render cache flush for GEN8+
...
This is needed for SKL as well.
2016-01-21 14:18:52 -08:00
Jason Ekstrand
c310fb032d
vulkan-1.0.0: Rework memory barriers
2016-01-14 08:09:39 -08:00
Jason Ekstrand
924fbfc9a1
vk/0.210.0: Fix how we handle access flags in barriers
...
The initial implementation in the 0.210.0 API update was misguieded as to
what the access flags meant. This should be more correct.
2015-12-03 13:44:02 -08:00
Jason Ekstrand
b1cd025b88
vk/0.210.0: Replace MemoryInput/OutputFlags with AccessFlags
2015-12-03 13:43:53 -08:00
Jason Ekstrand
a89a485e79
vk/0.210.0: Rename CmdBuffer to CommandBuffer
2015-11-30 11:48:08 -08:00
Jason Ekstrand
6a8a542610
vk/0.210.0: A pile of minor enum updates
2015-11-30 11:12:44 -08:00
Kristian Høgsberg Kristensen
cd4721c062
vk: Add SKL support
...
Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
2015-11-25 22:34:10 -08:00
Jason Ekstrand
6f613abc2b
anv/cmd_buffer: Add a new genX_cmd_buffer file for shared code
...
This file contains code that can be shared across gens modulo recompiling.
In particular, we can share STATE_BASE_ADDRESS setup and handling of the
vkPipelineBarrier call. Not sharing STATE_BASE_ADDRESS setup has already
been a source of bugs and the gen7 and gen8 implementations of
PipelineBarrier were line-for-line identical.
Incidentally, this should fix MOCS settings for dynamic and surface state
on Haswell.
2015-11-18 12:26:57 -08:00