File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
backends/vulkan/runtime/graph/ops/impl Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,7 @@ void add_var_buffer_node(
5656
5757 std::vector<PushConstantDataInfo> push_constants;
5858 int32_t unbiased_int = static_cast <int32_t >(unbiased);
59- push_constants.emplace_back (
60- PushConstantDataInfo (
61- &unbiased_int, sizeof (unbiased_int)));
59+ push_constants.emplace_back (&unbiased_int, sizeof (unbiased_int));
6260
6361 graph.execute_nodes ().emplace_back (new DispatchNode (
6462 graph,
@@ -133,9 +131,7 @@ void add_var_texture_node(
133131
134132 std::vector<PushConstantDataInfo> push_constants;
135133 int32_t unbiased_int = static_cast <int32_t >(unbiased);
136- push_constants.emplace_back (
137- PushConstantDataInfo (
138- &unbiased_int, sizeof (unbiased_int)));
134+ push_constants.emplace_back (&unbiased_int, sizeof (unbiased_int));
139135
140136 graph.execute_nodes ().emplace_back (new DispatchNode (
141137 graph,
You can’t perform that action at this time.
0 commit comments