Fix wgpu::device::create_render_pipeline
This commit is contained in:
parent
0998da6329
commit
8ff0adb710
1 changed files with 4 additions and 0 deletions
|
|
@ -175,6 +175,10 @@ namespace psemek::wgpu
|
|||
std::vector<WGPUConstantEntry> & fragment_constants,
|
||||
std::vector<WGPUColorTargetState> & color_targets)
|
||||
{
|
||||
descriptor.nextInChain = (WGPUChainedStruct const *)detail::fill_chain(desc.chain);
|
||||
descriptor.label = desc.label.data();
|
||||
descriptor.layout = (WGPUPipelineLayout)desc.layout.get();
|
||||
|
||||
for (auto const & constant_in : desc.vertex.constants)
|
||||
{
|
||||
auto & constant_out = vertex_constants.emplace_back();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue