Skip to content

Commit

Permalink
- fix issue with blend hashes not correctly propagating
Browse files Browse the repository at this point in the history
  • Loading branch information
polymonster committed Mar 29, 2023
1 parent 3f234f2 commit c4d369f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pmfx_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,9 @@ def generate_pipeline_permutation(pipeline_name, pipeline, output_pmfx, shaders,
added_pmfx["blend_states"][blend_state_name] = blend_state
expanded["blend_state"] = dict(blend_state)
expanded["blend_state"]["exapnded"] = list()
for rt in expanded["blend_state"]["render_target"]:
expanded["blend_state"]["exapnded"].append(blend_state)
expanded["blend_state"]["exapnded"].append(blend_state)
for rt in blend_state["render_target"]:
expanded["blend_state"]["exapnded"].append(output_pmfx["render_target_blend_states"][rt])
else:
build_pmfx.print_error(" [error] missing blend_state or render_target_blend_state {}".format(blend_state_name))
output_pipeline["error_code"] = 219
Expand Down

0 comments on commit c4d369f

Please sign in to comment.