summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/vc5/vc5_screen.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-12broadcom/vc5: Port the draw-time state emission to V3D 4.1.Eric Anholt1-1/+3
2018-01-12broadcom/vc5: Update pixel center setup for V3D 4.x.Eric Anholt1-2/+12
The fxcd/fycd instructions now return half-integer pixel centers when not doing sample-rate shading.
2018-01-12broadcom/vc5: Move the formats table to per-V3D-version compile.Eric Anholt1-2/+3
2018-01-12broadcom/vc5: Enable the driver on V3D 4.1Eric Anholt1-1/+1
2017-12-19gallium: plumb context priority through to driverRob Clark1-0/+1
Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Andres Rodriguez <andresx7@gmail.com> Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
2017-11-17broadcom/vc5: Fix driver for new PIPE_SHADER_CAP_MAX_HW_ATOMIC_*.Eric Anholt1-0/+2
2017-11-07broadcom/vc5: Set the available VS outputs to match the FS inputs.Eric Anholt1-1/+4
Fixes piglit glsl-es-3.00/minimum-maximums.txt.
2017-11-07broadcom/vc5: Set the max texture LOD bias.Eric Anholt1-1/+1
The field is signed 8.8, so the usual 16.0f fits. Fixes piglit gl-2.1-minmax.
2017-11-06gallium: add PIPE_CAP_SIGNED_VERTEX_BUFFER_OFFSETMarek Olšák1-0/+1
2017-11-01gallium: add cap for driver specified max combined shader resources.Dave Airlie1-0/+1
Some hw (evergreen) has a limit on how many combined (images/buffers/mrts) a fragment shader can access. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-10-30broadcom/vc5: Disable GL_ARB_transform_feedback3.Eric Anholt1-1/+1
We don't seem to have a way to generally handle gl_SkipComponents.
2017-10-30broadcom/vc5: Fix gl_FragCoord pixel center setup.Eric Anholt1-3/+4
Fixes glsl-arb-fragment-coord-conventions.
2017-10-10broadcom/vc5: Add support for GL_EXT_provoking_vertex.Eric Anholt1-1/+1
The bit was missing from the spec, but it's there in the simulator. Fixes the piglit clipflat test.
2017-10-10broadcom/vc5: Add proper support for base_vertex and base_instance.Eric Anholt1-1/+1
I had base_vertex hacked into the shader state setup like in vc4, but it's not correct for big offsets. Using the proper packet is easier and hopefully means we can re-emit shader state setup less frequently.
2017-10-10broadcom: Add V3D 3.3 gallium driver called "vc5", for BCM7268.Eric Anholt1-0/+620
V3D 3.3 is a continuation of the 3D implementation in VC4 (v2.1 and v2.6). V3D 3.3 introduces an MMU (no more CMA allocations) and support for GLES3.1. This driver is not currently conformant, though that will be a target as soon as possible. V3D 3.x parts use a new texture tiling layout common across many Broadcom graphics parts including and the HVS scanout engine. It also massively changes the QPU instructions, introducing a common physical register file (no more A/B split) and half-float instructions, while removing the 4x8 unorm instructions in favor of half-float for talking to fixed function interfaces. Because so much has changed, vc5 is implemented in a separate gallium driver, using only the XML code-generation support from vc4. v2: Fix tile layout for 64bpp textures. Fix texture swizzling for 32-bit returns. Fix up a bit of MRT setup. Sync the simulator to kernel behavior a bit more. Improve uniform debugging code. Rebase on QIR->VIR rename. Move texture state mostly to the CSOs. Improve cache flushing on the simulator. Fix program deletion use-after-frees. Acked-by: Dave Airlie <airlied@gmail.com> (uabi plan) Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> (uabi plan)