| 2167 | |
| 2168 | |
| 2169 | uint32_t SpirvModule::opFMax( |
| 2170 | uint32_t resultType, |
| 2171 | uint32_t a, |
| 2172 | uint32_t b) { |
| 2173 | uint32_t resultId = this->allocateId(); |
| 2174 | |
| 2175 | m_code.putIns (spv::OpExtInst, 7); |
| 2176 | m_code.putWord(resultType); |
| 2177 | m_code.putWord(resultId); |
| 2178 | m_code.putWord(m_instExtGlsl450); |
| 2179 | m_code.putWord(spv::GLSLstd450FMax); |
| 2180 | m_code.putWord(a); |
| 2181 | m_code.putWord(b); |
| 2182 | return resultId; |
| 2183 | } |
| 2184 | |
| 2185 | |
| 2186 | uint32_t SpirvModule::opFMin( |
no test coverage detected