OSDN Git Service

vc4: Try compiling our FSes in multithreaded mode on new kernels.
authorEric Anholt <eric@anholt.net>
Fri, 11 Nov 2016 01:47:34 +0000 (17:47 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 17 Nov 2016 03:45:01 +0000 (19:45 -0800)
commit7f27ad55974d0bdac4c94a4523a4d42cc75334d5
tree33ace14da8827227a06899a4e7f98a3aaabddd54
parent45c022f2b06967196516f0616a9e4959ddcd14da
vc4: Try compiling our FSes in multithreaded mode on new kernels.

Multithreaded fragment shaders let us hide texturing latency by a
hyperthreading-style switch to another fragment shader.  This gets us up
to 20% framerate improvements on glmark2 tests.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_screen.c
src/gallium/drivers/vc4/vc4_screen.h
src/gallium/drivers/vc4/vc4_simulator.c