diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-10-22 19:40:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-10-22 19:41:19 +0100 |
commit | dee9ea29917dd5ef4a7de6570cd091f08d334df9 (patch) | |
tree | 222f27986efb7b59b840dab2556f195f477b1ac1 /src | |
parent | 7a9bdadd71730adc5266bc6758982abec5917b93 (diff) |
sna/gen8: Override the URB output from the VS
Using the override seems to be marginally faster.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/gen8_render.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c index a6a5dd29..d375753e 100644 --- a/src/sna/gen8_render.c +++ b/src/sna/gen8_render.c @@ -922,6 +922,8 @@ gen8_emit_sf(struct sna *sna, bool has_mask) OUT_BATCH(GEN8_3DSTATE_SBE | (4 - 2)); OUT_BATCH(num_sf_outputs << SBE_NUM_OUTPUTS_SHIFT | + SBE_FORCE_VERTEX_URB_READ_LENGTH | /* forced is faster */ + SBE_FORCE_VERTEX_URB_READ_OFFSET | 1 << SBE_URB_ENTRY_READ_LENGTH_SHIFT | 1 << SBE_URB_ENTRY_READ_OFFSET_SHIFT); OUT_BATCH(0); |