Revert "fix"
This reverts commit f1584919fc40e609606c43ab1d23d6372fb4afde.
This commit is contained in:
parent
f1584919fc
commit
b0202cfcea
@ -1326,7 +1326,7 @@ CreateBufferView(Descriptor* desc)
|
||||
}
|
||||
|
||||
void
|
||||
PushConstants(T)(Pipeline pipeline_id, T* pc, bool compute = false)
|
||||
PushConstants(T)(Pipeline pipeline_id, T* pc)
|
||||
{
|
||||
assert(pipeline_id > 0, "PushConstants pipeline_id == 0");
|
||||
PipelineHandles* pipeline = g_vk.pipeline_handles.ptr + pipeline_id;
|
||||
@ -1335,7 +1335,7 @@ PushConstants(T)(Pipeline pipeline_id, T* pc, bool compute = false)
|
||||
VK_SHADER_STAGE_COMPUTE_BIT);
|
||||
|
||||
vkCmdPushConstants(
|
||||
compute ? g_vk.comp_cmd : g_vk.cmd,
|
||||
g_vk.cmd,
|
||||
pipeline.layout,
|
||||
stage,
|
||||
0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user