summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/genX_cmd_buffer.c
Commit message (Collapse)AuthorAgeFilesLines
...
* anv/gen7: Add stall and flushes before switching pipelinesJordan Justen2016-03-121-0/+24
| | | | | | | This is a port of 18c76551ee425b981efefc61f663a7781df17882 from OpenGL to Vulkan. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
* anv: Add flush_pipeline_before_pipeline_selectJordan Justen2016-03-121-13/+22
| | | | | | | flush_pipeline_before_pipeline_select adds workarounds required before switching the pipeline. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
* anv/genX: Add flush_pipeline_select_gpgpuJordan Justen2016-03-121-0/+27
| | | | Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
* HACK: Don't re-configure L3$ in render stages pre-BDWJason Ekstrand2016-03-121-0/+11
| | | | | | | This fixes a "regression" on Haswell and prior caused by merging the gen7 and gen8 flush_state functions. Haswell should still work just fine if you're on a 4.4 kernel, but we really should make it detect the command parser version and do something intelligent.
* anv/cmd_buffer: Pull the core of flush_state into genX_cmd_bufferJason Ekstrand2016-03-081-0/+176
|
* anv: Emit null render targetsJason Ekstrand2016-03-051-0/+30
| | | | v2 (Francisco Jerez): Add the state_offset to the surface state offset
* anv: Store prog data in pipeline cache streamKristian Høgsberg Kristensen2016-03-051-10/+10
| | | | | We have to keep it there for the cache to work, so let's not have an extra copy in struct anv_pipeline too.
* anv: Don't allow D16_UNORM to be combined with stencilJason Ekstrand2016-03-051-2/+3
| | | | | Among other things, this can cause the depth or stencil test to spurriously fail when the fragment shader uses discard.
* anv/hsw: Move query code to genX file for HaswellJordan Justen2016-03-051-0/+244
| | | | | | | | This fixes many CTS cases, but will require an update to the kernel command parser register whitelist. (The CS GPRs and TIMESTAMP registers need to be whitelisted.) Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
* hack to make dota 2 menus workKenneth Graunke2016-03-031-2/+2
|
* anv/gen7: Use predicated rendering for indirect computeJordan Justen2016-03-021-0/+45
| | | | | | | | | | For OpenGL, see commit 9a939ebb47a0d37a6b29e3dbb1b20bdc9538a721. Fixes: * dEQP-VK.compute.indirect_dispatch.upload_buffer.empty_command * dEQP-VK.compute.indirect_dispatch.gen_in_compute.empty_command Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
* anv: Save batch to local variable for indirect computeJordan Justen2016-03-021-5/+6
| | | | Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
* anv: Add in image->offset when setting up depth bufferKristian Høgsberg Kristensen2016-03-011-1/+1
| | | | | | Fix from Neil Roberts. https://bugs.freedesktop.org/show_bug.cgi?id=94348
* anv: Switch over to the macros in genxmlJason Ekstrand2016-02-201-16/+9
|
* Move the intel vulkan driver to src/intel/vulkanJason Ekstrand2016-02-181-0/+717