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);
|
assert_not_zero(vertex_ptr);
|
||||||
auto vertex = b.createLoad(vertex_ptr);
|
auto vertex = b.createLoad(vertex_ptr);
|
||||||
|
|
||||||
auto cond =
|
auto cond = b.createBinOp(spv::Op::OpIEqual, bool_type_, vertex_idx,
|
||||||
b.createBinOp(spv::Op::OpIEqual, bool_type_, vertex_id, shader_vertex_id);
|
shader_vertex_idx);
|
||||||
auto vertex_components = b.getNumComponents(vertex);
|
auto vertex_components = b.getNumComponents(vertex);
|
||||||
Id alt_vertex = 0;
|
Id alt_vertex = 0;
|
||||||
switch (vertex_components) {
|
switch (vertex_components) {
|
||||||
|
|
Loading…
Reference in New Issue