summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-05-02 22:14:05 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:06 -0800
commit601ee4c1890d3bd5e78eab8cfe095d7a04b853d8 (patch)
tree2fb0ae3a5aef88de2958961619db6fde6fb2f741
parent4d248742363d468b242c372c205e17df32b5f710 (diff)
iris: fix whitespace
-rw-r--r--src/gallium/drivers/iris/iris_state.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c
index a5e75fceb90..18a6aca557d 100644
--- a/src/gallium/drivers/iris/iris_state.c
+++ b/src/gallium/drivers/iris/iris_state.c
@@ -1426,7 +1426,7 @@ iris_create_vertex_elements(struct pipe_context *ctx,
for (int i = 0; i < count; i++) {
enum isl_format isl_format =
- iris_isl_format_for_pipe_format(state[i].src_format);
+ iris_isl_format_for_pipe_format(state[i].src_format);
unsigned comp[4] = { VFCOMP_STORE_SRC, VFCOMP_STORE_SRC,
VFCOMP_STORE_SRC, VFCOMP_STORE_SRC };
@@ -1450,7 +1450,8 @@ iris_create_vertex_elements(struct pipe_context *ctx,
ve.Component3Control = comp[3];
}
- iris_pack_command(GENX(3DSTATE_VF_INSTANCING), cso->vf_instancing[i], vi) {
+ iris_pack_command(GENX(3DSTATE_VF_INSTANCING),
+ cso->vf_instancing[i], vi) {
vi.VertexElementIndex = i;
vi.InstancingEnable = state[i].instance_divisor > 0;
vi.InstanceDataStepRate = state[i].instance_divisor;