diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2015-08-20 22:55:08 -0700 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2015-08-24 13:45:41 -0700 |
commit | 891995e55bbadf75699e659c9d5ded24419e3ad3 (patch) | |
tree | ae8105fe257893d1348f818509dca4b6ce67b714 /src/vulkan | |
parent | 9c752b5b38305acaf863fc0165565fcf6f8f390a (diff) |
vk: Move 3DSTATE_SBE setup to just before 3DSTATE_PS
This is a more logical place for it, between geometry front end state
and pixel backend state.
Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
Diffstat (limited to 'src/vulkan')
-rw-r--r-- | src/vulkan/gen8_pipeline.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/vulkan/gen8_pipeline.c b/src/vulkan/gen8_pipeline.c index 9060b3c744a..bd179fdc845 100644 --- a/src/vulkan/gen8_pipeline.c +++ b/src/vulkan/gen8_pipeline.c @@ -136,13 +136,6 @@ emit_rs_state(struct anv_pipeline *pipeline, .ViewportZClipTestEnable = info->depthClipEnable }; - anv_batch_emit(&pipeline->batch, GEN8_3DSTATE_SBE, - .ForceVertexURBEntryReadLength = false, - .ForceVertexURBEntryReadOffset = false, - .PointSpriteTextureCoordinateOrigin = UPPERLEFT, - .NumberofSFOutputAttributes = - pipeline->wm_prog_data.num_varying_inputs); - GEN8_3DSTATE_RASTER_pack(NULL, pipeline->gen8.raster, &raster); } @@ -528,6 +521,13 @@ gen8_graphics_pipeline_create( const struct brw_wm_prog_data *wm_prog_data = &pipeline->wm_prog_data; + anv_batch_emit(&pipeline->batch, GEN8_3DSTATE_SBE, + .ForceVertexURBEntryReadLength = false, + .ForceVertexURBEntryReadOffset = false, + .PointSpriteTextureCoordinateOrigin = UPPERLEFT, + .NumberofSFOutputAttributes = + wm_prog_data->num_varying_inputs); + anv_batch_emit(&pipeline->batch, GEN8_3DSTATE_PS, .KernelStartPointer0 = pipeline->ps_ksp0, |