summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/genX_state.c
Commit message (Collapse)AuthorAgeFilesLines
* anv: Use macro to avoid code duplication for sample positionsAnuj Phogat2016-08-121-62/+6
| | | | | Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
* anv: Perform rasterizer discard in the SOL stage instead of the clipper.Kenneth Graunke2016-07-301-1/+0
| | | | | | | | | See commit b0629e6894513a2c49a018bc3342a4e55435a236, where we discovered that the SOL stage's "Rendering Disable" feature is a lot faster at throwing away all geometry than the clipper's "reject all" mode. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
* anv: Emit DRAWING_RECTANGLE once at driver initializationJason Ekstrand2016-05-271-0/+9
| | | | | | | | | | Also, we don't actually need it for clipping because meta always colors inside the lines and, for all other operations, the user is required to set a scissor. Since DRAWING_RECTANGLE stalls the GPU, we want to emit it as little as possible. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* anv: s/anv_batch_emit_blk/anv_batch_emit/Jason Ekstrand2016-04-201-10/+10
| | | | Acked-by: Kristian Høgsberg <krh@bitplanet.net>
* anv/state: Use the new emit macroJason Ekstrand2016-04-201-77/+78
| | | | Acked-by: Kristian Høgsberg <krh@bitplanet.net>
* anv: Fix backwards shadow comparisonsKenneth Graunke2016-03-041-10/+21
| | | | | | | | | | sample_c is backwards from what GL and Vulkan expect. See intel_state.c in i965. v2: Drop unused vk_to_gen_compare_op. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
* genxml: Make the border color pointer consistent across gensJason Ekstrand2016-03-011-5/+1
|
* anv: Unify gen7 and gen8 stateJason Ekstrand2016-03-011-0/+263
Now that we've pulled surface state setup into ISL, there's not much to do here.