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(
56
56
57
57
std::vector<PushConstantDataInfo> push_constants;
58
58
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));
62
60
63
61
graph.execute_nodes ().emplace_back (new DispatchNode (
64
62
graph,
@@ -133,9 +131,7 @@ void add_var_texture_node(
133
131
134
132
std::vector<PushConstantDataInfo> push_constants;
135
133
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));
139
135
140
136
graph.execute_nodes ().emplace_back (new DispatchNode (
141
137
graph,
You can’t perform that action at this time.
0 commit comments