Kristian Høgsberg
18acfa7301
vk: Fix copy-n-paste sType in vkCreateSampler
2015-05-13 14:47:11 -07:00
Kristian Høgsberg
a1ec789b0b
vk: Add a dynamic state stream to anv_cmd_buffer
...
We'll need this for sampler state.
2015-05-13 14:47:11 -07:00
Kristian Høgsberg
3f52c016fa
vk: Move struct anv_sampler to private.h
2015-05-13 14:47:11 -07:00
Kristian Høgsberg
a77229c979
vk: Allocate layout->count number of descriptors
...
layout->count is the number of descriptors the application
requested. layout->total is the number of entries we need across all
stages.
2015-05-13 14:47:11 -07:00
Kristian Høgsberg
a3fd136509
vk: Fill out sampler state from API values
2015-05-13 14:47:11 -07:00
Chad Versace
828817b88f
vk: Ignore vk executable
2015-05-13 12:05:38 -07:00
Kristian Høgsberg
2b7a060178
vk: Fix stale error handling in vkQueueSubmit
2015-05-12 14:38:58 -07:00
Kristian Høgsberg
cb986ef597
vk: Submit all cmd buffers passed to vkQueueSubmit
2015-05-12 14:38:12 -07:00
Kristian Høgsberg
9905481552
vk: Add generated header for HSW and IVB (GEN75 and GEN7)
2015-05-12 14:29:04 -07:00
Jason Ekstrand
ffe9f60358
vk: Add stub() and stub_return() macros and mark piles of functions as stubs
2015-05-12 13:45:02 -07:00
Jason Ekstrand
d3b374ce59
vk/util: Add a anv_finishme function/macro
2015-05-12 13:43:36 -07:00
Jason Ekstrand
7727720585
vk/meta: Break setting up meta clear state into it's own functin
2015-05-12 13:03:50 -07:00
Jason Ekstrand
4336a1bc00
vk/pipeline: Add support for disabling the scissor in "extra"
2015-05-12 12:53:01 -07:00
Kristian Høgsberg
d77c34d1d2
vk: Add clear load-op for render passes
2015-05-11 23:25:29 -07:00
Kristian Høgsberg
b734e0bcc5
vk: Add support for driver-internal custom pipelines
...
This lets us disable the viewport, use rect lists and repclear.
2015-05-11 23:25:29 -07:00
Kristian Høgsberg
ad132bbe48
vk: Fix 3DSTATE_VERTEX_BUFFER emission
...
Set VertexBufferIndex to the attribute binding, not the location.
2015-05-11 23:25:29 -07:00
Kristian Høgsberg
6a895c6681
vk: Add 32 bpc signed and unsigned integer formats
2015-05-11 23:25:29 -07:00
Kristian Høgsberg
55b9b703ea
vk: Add anv_batch_emit_merge() helper macro
...
This lets us emit a state packet by merging to half-backed versions,
typically one from the pipeline object and one from a dynamic state
objects.
2015-05-11 23:25:28 -07:00
Kristian Høgsberg
099faa1a2b
vk: Store bo pointer in anv_image and anv_buffer
...
We don't need to point back to the memory object the bo came from.
Pointing directly to a bo lets us bind images and buffers to other
bos - like our allocator bos.
2015-05-11 23:25:28 -07:00
Kristian Høgsberg
4f25f5d86c
vk: Support not having a vertex shader
...
This lets us bypass the vertex shader and pass data straight into
the rasterizer part of the pipeline.
2015-05-11 23:25:28 -07:00
Kristian Høgsberg
20ad071190
vk: Allow NULL as a valid pipeline layout
...
Vertex buffers and render targets aren't part of the layout so having
an empty layout is pretty common.
2015-05-11 22:12:56 -07:00
Kristian Høgsberg
769785c497
Add vulkan driver for BDW
2015-05-09 11:38:32 -07:00