[SPIR-V] tfetch UseRegisterLOD support

This commit is contained in:
DrChat
2018-03-01 13:46:44 -06:00
parent ea3ee2db2b
commit d31db60a75
2 changed files with 8 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ class SpirvShaderTranslator : public ShaderTranslator {
spv::Id loop_count_ = 0; // Loop counter stack
spv::Id ps_ = 0, pv_ = 0; // IDs of previous results
spv::Id pc_ = 0; // Program counter
spv::Id lod_ = 0; // LOD register
spv::Id pos_ = 0;
spv::Id push_consts_ = 0;
spv::Id interpolators_ = 0;