소스 검색

iris: Fix SourceAlphaBlendFactor

tags/19.1-branchpoint
Kenneth Graunke 7 년 전
부모
커밋
b2c04aa3a0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      src/gallium/drivers/iris/iris_state.c

+ 2
- 2
src/gallium/drivers/iris/iris_state.c 파일 보기

@@ -795,7 +795,7 @@ iris_create_blend_state(struct pipe_context *ctx,
pb.ColorBufferBlendEnable = state->rt[0].blend_enable;

pb.SourceBlendFactor = state->rt[0].rgb_src_factor;
pb.SourceAlphaBlendFactor = state->rt[0].alpha_func;
pb.SourceAlphaBlendFactor = state->rt[0].alpha_src_factor;
pb.DestinationBlendFactor = state->rt[0].rgb_dst_factor;
pb.DestinationAlphaBlendFactor = state->rt[0].alpha_dst_factor;
}
@@ -828,7 +828,7 @@ iris_create_blend_state(struct pipe_context *ctx,
be.ColorBlendFunction = rt->rgb_func;
be.AlphaBlendFunction = rt->alpha_func;
be.SourceBlendFactor = rt->rgb_src_factor;
be.SourceAlphaBlendFactor = rt->alpha_func;
be.SourceAlphaBlendFactor = rt->alpha_src_factor;
be.DestinationBlendFactor = rt->rgb_dst_factor;
be.DestinationAlphaBlendFactor = rt->alpha_dst_factor;


Loading…
취소
저장