Whoops - fix a few compilation errors
This commit is contained in:
parent
a547c79b51
commit
cd5d3fae9c
|
@ -900,8 +900,8 @@ void SpirvShaderTranslator::ProcessVertexFetchInstruction(
|
|||
assert_not_zero(vertex_ptr);
|
||||
auto vertex = b.createLoad(vertex_ptr);
|
||||
|
||||
auto cond =
|
||||
b.createBinOp(spv::Op::OpIEqual, bool_type_, vertex_id, shader_vertex_id);
|
||||
auto cond = b.createBinOp(spv::Op::OpIEqual, bool_type_, vertex_idx,
|
||||
shader_vertex_idx);
|
||||
auto vertex_components = b.getNumComponents(vertex);
|
||||
Id alt_vertex = 0;
|
||||
switch (vertex_components) {
|
||||
|
|
Loading…
Reference in New Issue