Add RelaxedPrecision decoration to function-call temp vars.

This is really same basic issue as http://review.skia.org/446640. We
were creating a temp variable but ignoring its type's precision.

Change-Id: I9a5fedd7ada864d36757fc196f42ff95bac7d706
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/446718
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
This commit is contained in:
John Stiles 2021-09-08 11:22:31 -04:00 committed by SkCQ
parent 38ecac7895
commit 0f4304e6e7
16 changed files with 117 additions and 1 deletions

View File

@ -1218,7 +1218,7 @@ SpvId SPIRVCodeGenerator::writeFunctionCall(const FunctionCall& c, OutputStream&
} else { } else {
// See getFunctionType for an explanation of why we're always using pointer parameters. // See getFunctionType for an explanation of why we're always using pointer parameters.
tmpValueId = this->writeExpression(*arguments[i], out); tmpValueId = this->writeExpression(*arguments[i], out);
tmpVar = this->nextId(nullptr); tmpVar = this->nextId(&arguments[i]->type());
} }
this->writeInstruction(SpvOpVariable, this->writeInstruction(SpvOpVariable,
this->getPointerType(arguments[i]->type(), SpvStorageClassFunction), this->getPointerType(arguments[i]->type(), SpvStorageClassFunction),

View File

@ -110,8 +110,11 @@ OpDecorate %138 RelaxedPrecision
OpDecorate %139 RelaxedPrecision OpDecorate %139 RelaxedPrecision
OpDecorate %140 RelaxedPrecision OpDecorate %140 RelaxedPrecision
OpDecorate %141 RelaxedPrecision OpDecorate %141 RelaxedPrecision
OpDecorate %142 RelaxedPrecision
OpDecorate %143 RelaxedPrecision OpDecorate %143 RelaxedPrecision
OpDecorate %144 RelaxedPrecision
OpDecorate %145 RelaxedPrecision OpDecorate %145 RelaxedPrecision
OpDecorate %146 RelaxedPrecision
OpDecorate %149 RelaxedPrecision OpDecorate %149 RelaxedPrecision
OpDecorate %150 RelaxedPrecision OpDecorate %150 RelaxedPrecision
OpDecorate %151 RelaxedPrecision OpDecorate %151 RelaxedPrecision

View File

@ -88,16 +88,22 @@ OpDecorate %94 RelaxedPrecision
OpDecorate %95 RelaxedPrecision OpDecorate %95 RelaxedPrecision
OpDecorate %103 RelaxedPrecision OpDecorate %103 RelaxedPrecision
OpDecorate %104 RelaxedPrecision OpDecorate %104 RelaxedPrecision
OpDecorate %105 RelaxedPrecision
OpDecorate %108 RelaxedPrecision OpDecorate %108 RelaxedPrecision
OpDecorate %109 RelaxedPrecision OpDecorate %109 RelaxedPrecision
OpDecorate %110 RelaxedPrecision
OpDecorate %113 RelaxedPrecision OpDecorate %113 RelaxedPrecision
OpDecorate %114 RelaxedPrecision OpDecorate %114 RelaxedPrecision
OpDecorate %115 RelaxedPrecision
OpDecorate %117 RelaxedPrecision OpDecorate %117 RelaxedPrecision
OpDecorate %118 RelaxedPrecision OpDecorate %118 RelaxedPrecision
OpDecorate %119 RelaxedPrecision
OpDecorate %122 RelaxedPrecision OpDecorate %122 RelaxedPrecision
OpDecorate %123 RelaxedPrecision OpDecorate %123 RelaxedPrecision
OpDecorate %124 RelaxedPrecision
OpDecorate %126 RelaxedPrecision OpDecorate %126 RelaxedPrecision
OpDecorate %127 RelaxedPrecision OpDecorate %127 RelaxedPrecision
OpDecorate %128 RelaxedPrecision
OpDecorate %131 RelaxedPrecision OpDecorate %131 RelaxedPrecision
OpDecorate %132 RelaxedPrecision OpDecorate %132 RelaxedPrecision
OpDecorate %134 RelaxedPrecision OpDecorate %134 RelaxedPrecision

View File

@ -85,16 +85,22 @@ OpDecorate %91 RelaxedPrecision
OpDecorate %92 RelaxedPrecision OpDecorate %92 RelaxedPrecision
OpDecorate %100 RelaxedPrecision OpDecorate %100 RelaxedPrecision
OpDecorate %101 RelaxedPrecision OpDecorate %101 RelaxedPrecision
OpDecorate %102 RelaxedPrecision
OpDecorate %105 RelaxedPrecision OpDecorate %105 RelaxedPrecision
OpDecorate %106 RelaxedPrecision OpDecorate %106 RelaxedPrecision
OpDecorate %107 RelaxedPrecision
OpDecorate %110 RelaxedPrecision OpDecorate %110 RelaxedPrecision
OpDecorate %111 RelaxedPrecision OpDecorate %111 RelaxedPrecision
OpDecorate %112 RelaxedPrecision
OpDecorate %114 RelaxedPrecision OpDecorate %114 RelaxedPrecision
OpDecorate %115 RelaxedPrecision OpDecorate %115 RelaxedPrecision
OpDecorate %116 RelaxedPrecision
OpDecorate %119 RelaxedPrecision OpDecorate %119 RelaxedPrecision
OpDecorate %120 RelaxedPrecision OpDecorate %120 RelaxedPrecision
OpDecorate %121 RelaxedPrecision
OpDecorate %123 RelaxedPrecision OpDecorate %123 RelaxedPrecision
OpDecorate %124 RelaxedPrecision OpDecorate %124 RelaxedPrecision
OpDecorate %125 RelaxedPrecision
OpDecorate %128 RelaxedPrecision OpDecorate %128 RelaxedPrecision
OpDecorate %129 RelaxedPrecision OpDecorate %129 RelaxedPrecision
OpDecorate %131 RelaxedPrecision OpDecorate %131 RelaxedPrecision

View File

@ -55,16 +55,22 @@ OpDecorate %56 RelaxedPrecision
OpDecorate %_0_result RelaxedPrecision OpDecorate %_0_result RelaxedPrecision
OpDecorate %66 RelaxedPrecision OpDecorate %66 RelaxedPrecision
OpDecorate %67 RelaxedPrecision OpDecorate %67 RelaxedPrecision
OpDecorate %68 RelaxedPrecision
OpDecorate %71 RelaxedPrecision OpDecorate %71 RelaxedPrecision
OpDecorate %72 RelaxedPrecision OpDecorate %72 RelaxedPrecision
OpDecorate %73 RelaxedPrecision
OpDecorate %76 RelaxedPrecision OpDecorate %76 RelaxedPrecision
OpDecorate %77 RelaxedPrecision OpDecorate %77 RelaxedPrecision
OpDecorate %78 RelaxedPrecision
OpDecorate %80 RelaxedPrecision OpDecorate %80 RelaxedPrecision
OpDecorate %81 RelaxedPrecision OpDecorate %81 RelaxedPrecision
OpDecorate %82 RelaxedPrecision
OpDecorate %85 RelaxedPrecision OpDecorate %85 RelaxedPrecision
OpDecorate %86 RelaxedPrecision OpDecorate %86 RelaxedPrecision
OpDecorate %87 RelaxedPrecision
OpDecorate %89 RelaxedPrecision OpDecorate %89 RelaxedPrecision
OpDecorate %90 RelaxedPrecision OpDecorate %90 RelaxedPrecision
OpDecorate %91 RelaxedPrecision
OpDecorate %94 RelaxedPrecision OpDecorate %94 RelaxedPrecision
OpDecorate %95 RelaxedPrecision OpDecorate %95 RelaxedPrecision
OpDecorate %98 RelaxedPrecision OpDecorate %98 RelaxedPrecision

View File

@ -137,18 +137,24 @@ OpDecorate %171 RelaxedPrecision
OpDecorate %172 RelaxedPrecision OpDecorate %172 RelaxedPrecision
OpDecorate %173 RelaxedPrecision OpDecorate %173 RelaxedPrecision
OpDecorate %178 RelaxedPrecision OpDecorate %178 RelaxedPrecision
OpDecorate %179 RelaxedPrecision
OpDecorate %180 RelaxedPrecision OpDecorate %180 RelaxedPrecision
OpDecorate %181 RelaxedPrecision
OpDecorate %183 RelaxedPrecision OpDecorate %183 RelaxedPrecision
OpDecorate %184 RelaxedPrecision OpDecorate %184 RelaxedPrecision
OpDecorate %185 RelaxedPrecision OpDecorate %185 RelaxedPrecision
OpDecorate %186 RelaxedPrecision OpDecorate %186 RelaxedPrecision
OpDecorate %191 RelaxedPrecision OpDecorate %191 RelaxedPrecision
OpDecorate %192 RelaxedPrecision OpDecorate %192 RelaxedPrecision
OpDecorate %193 RelaxedPrecision
OpDecorate %194 RelaxedPrecision OpDecorate %194 RelaxedPrecision
OpDecorate %195 RelaxedPrecision
OpDecorate %197 RelaxedPrecision OpDecorate %197 RelaxedPrecision
OpDecorate %198 RelaxedPrecision OpDecorate %198 RelaxedPrecision
OpDecorate %199 RelaxedPrecision OpDecorate %199 RelaxedPrecision
OpDecorate %200 RelaxedPrecision
OpDecorate %201 RelaxedPrecision OpDecorate %201 RelaxedPrecision
OpDecorate %202 RelaxedPrecision
OpDecorate %204 RelaxedPrecision OpDecorate %204 RelaxedPrecision
OpDecorate %205 RelaxedPrecision OpDecorate %205 RelaxedPrecision
OpDecorate %206 RelaxedPrecision OpDecorate %206 RelaxedPrecision
@ -156,7 +162,9 @@ OpDecorate %207 RelaxedPrecision
OpDecorate %208 RelaxedPrecision OpDecorate %208 RelaxedPrecision
OpDecorate %213 RelaxedPrecision OpDecorate %213 RelaxedPrecision
OpDecorate %214 RelaxedPrecision OpDecorate %214 RelaxedPrecision
OpDecorate %215 RelaxedPrecision
OpDecorate %216 RelaxedPrecision OpDecorate %216 RelaxedPrecision
OpDecorate %217 RelaxedPrecision
OpDecorate %219 RelaxedPrecision OpDecorate %219 RelaxedPrecision
OpDecorate %220 RelaxedPrecision OpDecorate %220 RelaxedPrecision
OpDecorate %221 RelaxedPrecision OpDecorate %221 RelaxedPrecision
@ -164,11 +172,15 @@ OpDecorate %222 RelaxedPrecision
OpDecorate %223 RelaxedPrecision OpDecorate %223 RelaxedPrecision
OpDecorate %228 RelaxedPrecision OpDecorate %228 RelaxedPrecision
OpDecorate %229 RelaxedPrecision OpDecorate %229 RelaxedPrecision
OpDecorate %230 RelaxedPrecision
OpDecorate %231 RelaxedPrecision OpDecorate %231 RelaxedPrecision
OpDecorate %232 RelaxedPrecision
OpDecorate %234 RelaxedPrecision OpDecorate %234 RelaxedPrecision
OpDecorate %235 RelaxedPrecision OpDecorate %235 RelaxedPrecision
OpDecorate %236 RelaxedPrecision OpDecorate %236 RelaxedPrecision
OpDecorate %237 RelaxedPrecision
OpDecorate %238 RelaxedPrecision OpDecorate %238 RelaxedPrecision
OpDecorate %239 RelaxedPrecision
OpDecorate %241 RelaxedPrecision OpDecorate %241 RelaxedPrecision
OpDecorate %_0_alpha RelaxedPrecision OpDecorate %_0_alpha RelaxedPrecision
OpDecorate %250 RelaxedPrecision OpDecorate %250 RelaxedPrecision
@ -189,9 +201,14 @@ OpDecorate %270 RelaxedPrecision
OpDecorate %271 RelaxedPrecision OpDecorate %271 RelaxedPrecision
OpDecorate %272 RelaxedPrecision OpDecorate %272 RelaxedPrecision
OpDecorate %273 RelaxedPrecision OpDecorate %273 RelaxedPrecision
OpDecorate %274 RelaxedPrecision
OpDecorate %275 RelaxedPrecision OpDecorate %275 RelaxedPrecision
OpDecorate %276 RelaxedPrecision
OpDecorate %278 RelaxedPrecision
OpDecorate %279 RelaxedPrecision OpDecorate %279 RelaxedPrecision
OpDecorate %280 RelaxedPrecision
OpDecorate %281 RelaxedPrecision OpDecorate %281 RelaxedPrecision
OpDecorate %282 RelaxedPrecision
OpDecorate %285 RelaxedPrecision OpDecorate %285 RelaxedPrecision
OpDecorate %286 RelaxedPrecision OpDecorate %286 RelaxedPrecision
OpDecorate %287 RelaxedPrecision OpDecorate %287 RelaxedPrecision

View File

@ -110,8 +110,11 @@ OpDecorate %138 RelaxedPrecision
OpDecorate %139 RelaxedPrecision OpDecorate %139 RelaxedPrecision
OpDecorate %140 RelaxedPrecision OpDecorate %140 RelaxedPrecision
OpDecorate %141 RelaxedPrecision OpDecorate %141 RelaxedPrecision
OpDecorate %142 RelaxedPrecision
OpDecorate %143 RelaxedPrecision OpDecorate %143 RelaxedPrecision
OpDecorate %144 RelaxedPrecision
OpDecorate %145 RelaxedPrecision OpDecorate %145 RelaxedPrecision
OpDecorate %146 RelaxedPrecision
OpDecorate %149 RelaxedPrecision OpDecorate %149 RelaxedPrecision
OpDecorate %150 RelaxedPrecision OpDecorate %150 RelaxedPrecision
OpDecorate %151 RelaxedPrecision OpDecorate %151 RelaxedPrecision

View File

@ -55,16 +55,22 @@ OpDecorate %56 RelaxedPrecision
OpDecorate %_0_result RelaxedPrecision OpDecorate %_0_result RelaxedPrecision
OpDecorate %66 RelaxedPrecision OpDecorate %66 RelaxedPrecision
OpDecorate %67 RelaxedPrecision OpDecorate %67 RelaxedPrecision
OpDecorate %68 RelaxedPrecision
OpDecorate %71 RelaxedPrecision OpDecorate %71 RelaxedPrecision
OpDecorate %72 RelaxedPrecision OpDecorate %72 RelaxedPrecision
OpDecorate %73 RelaxedPrecision
OpDecorate %76 RelaxedPrecision OpDecorate %76 RelaxedPrecision
OpDecorate %77 RelaxedPrecision OpDecorate %77 RelaxedPrecision
OpDecorate %78 RelaxedPrecision
OpDecorate %80 RelaxedPrecision OpDecorate %80 RelaxedPrecision
OpDecorate %81 RelaxedPrecision OpDecorate %81 RelaxedPrecision
OpDecorate %82 RelaxedPrecision
OpDecorate %85 RelaxedPrecision OpDecorate %85 RelaxedPrecision
OpDecorate %86 RelaxedPrecision OpDecorate %86 RelaxedPrecision
OpDecorate %87 RelaxedPrecision
OpDecorate %89 RelaxedPrecision OpDecorate %89 RelaxedPrecision
OpDecorate %90 RelaxedPrecision OpDecorate %90 RelaxedPrecision
OpDecorate %91 RelaxedPrecision
OpDecorate %94 RelaxedPrecision OpDecorate %94 RelaxedPrecision
OpDecorate %95 RelaxedPrecision OpDecorate %95 RelaxedPrecision
OpDecorate %98 RelaxedPrecision OpDecorate %98 RelaxedPrecision

View File

@ -137,18 +137,24 @@ OpDecorate %171 RelaxedPrecision
OpDecorate %172 RelaxedPrecision OpDecorate %172 RelaxedPrecision
OpDecorate %173 RelaxedPrecision OpDecorate %173 RelaxedPrecision
OpDecorate %178 RelaxedPrecision OpDecorate %178 RelaxedPrecision
OpDecorate %179 RelaxedPrecision
OpDecorate %180 RelaxedPrecision OpDecorate %180 RelaxedPrecision
OpDecorate %181 RelaxedPrecision
OpDecorate %183 RelaxedPrecision OpDecorate %183 RelaxedPrecision
OpDecorate %184 RelaxedPrecision OpDecorate %184 RelaxedPrecision
OpDecorate %185 RelaxedPrecision OpDecorate %185 RelaxedPrecision
OpDecorate %186 RelaxedPrecision OpDecorate %186 RelaxedPrecision
OpDecorate %191 RelaxedPrecision OpDecorate %191 RelaxedPrecision
OpDecorate %192 RelaxedPrecision OpDecorate %192 RelaxedPrecision
OpDecorate %193 RelaxedPrecision
OpDecorate %194 RelaxedPrecision OpDecorate %194 RelaxedPrecision
OpDecorate %195 RelaxedPrecision
OpDecorate %197 RelaxedPrecision OpDecorate %197 RelaxedPrecision
OpDecorate %198 RelaxedPrecision OpDecorate %198 RelaxedPrecision
OpDecorate %199 RelaxedPrecision OpDecorate %199 RelaxedPrecision
OpDecorate %200 RelaxedPrecision
OpDecorate %201 RelaxedPrecision OpDecorate %201 RelaxedPrecision
OpDecorate %202 RelaxedPrecision
OpDecorate %204 RelaxedPrecision OpDecorate %204 RelaxedPrecision
OpDecorate %205 RelaxedPrecision OpDecorate %205 RelaxedPrecision
OpDecorate %206 RelaxedPrecision OpDecorate %206 RelaxedPrecision
@ -156,7 +162,9 @@ OpDecorate %207 RelaxedPrecision
OpDecorate %208 RelaxedPrecision OpDecorate %208 RelaxedPrecision
OpDecorate %213 RelaxedPrecision OpDecorate %213 RelaxedPrecision
OpDecorate %214 RelaxedPrecision OpDecorate %214 RelaxedPrecision
OpDecorate %215 RelaxedPrecision
OpDecorate %216 RelaxedPrecision OpDecorate %216 RelaxedPrecision
OpDecorate %217 RelaxedPrecision
OpDecorate %219 RelaxedPrecision OpDecorate %219 RelaxedPrecision
OpDecorate %220 RelaxedPrecision OpDecorate %220 RelaxedPrecision
OpDecorate %221 RelaxedPrecision OpDecorate %221 RelaxedPrecision
@ -164,11 +172,15 @@ OpDecorate %222 RelaxedPrecision
OpDecorate %223 RelaxedPrecision OpDecorate %223 RelaxedPrecision
OpDecorate %228 RelaxedPrecision OpDecorate %228 RelaxedPrecision
OpDecorate %229 RelaxedPrecision OpDecorate %229 RelaxedPrecision
OpDecorate %230 RelaxedPrecision
OpDecorate %231 RelaxedPrecision OpDecorate %231 RelaxedPrecision
OpDecorate %232 RelaxedPrecision
OpDecorate %234 RelaxedPrecision OpDecorate %234 RelaxedPrecision
OpDecorate %235 RelaxedPrecision OpDecorate %235 RelaxedPrecision
OpDecorate %236 RelaxedPrecision OpDecorate %236 RelaxedPrecision
OpDecorate %237 RelaxedPrecision
OpDecorate %238 RelaxedPrecision OpDecorate %238 RelaxedPrecision
OpDecorate %239 RelaxedPrecision
OpDecorate %241 RelaxedPrecision OpDecorate %241 RelaxedPrecision
OpDecorate %_0_alpha RelaxedPrecision OpDecorate %_0_alpha RelaxedPrecision
OpDecorate %250 RelaxedPrecision OpDecorate %250 RelaxedPrecision
@ -189,9 +201,14 @@ OpDecorate %270 RelaxedPrecision
OpDecorate %271 RelaxedPrecision OpDecorate %271 RelaxedPrecision
OpDecorate %272 RelaxedPrecision OpDecorate %272 RelaxedPrecision
OpDecorate %273 RelaxedPrecision OpDecorate %273 RelaxedPrecision
OpDecorate %274 RelaxedPrecision
OpDecorate %275 RelaxedPrecision OpDecorate %275 RelaxedPrecision
OpDecorate %276 RelaxedPrecision
OpDecorate %278 RelaxedPrecision
OpDecorate %279 RelaxedPrecision OpDecorate %279 RelaxedPrecision
OpDecorate %280 RelaxedPrecision
OpDecorate %281 RelaxedPrecision OpDecorate %281 RelaxedPrecision
OpDecorate %282 RelaxedPrecision
OpDecorate %285 RelaxedPrecision OpDecorate %285 RelaxedPrecision
OpDecorate %286 RelaxedPrecision OpDecorate %286 RelaxedPrecision
OpDecorate %287 RelaxedPrecision OpDecorate %287 RelaxedPrecision

View File

@ -175,16 +175,22 @@ OpDecorate %189 RelaxedPrecision
OpDecorate %199 RelaxedPrecision OpDecorate %199 RelaxedPrecision
OpDecorate %201 RelaxedPrecision OpDecorate %201 RelaxedPrecision
OpDecorate %202 RelaxedPrecision OpDecorate %202 RelaxedPrecision
OpDecorate %203 RelaxedPrecision
OpDecorate %205 RelaxedPrecision OpDecorate %205 RelaxedPrecision
OpDecorate %206 RelaxedPrecision OpDecorate %206 RelaxedPrecision
OpDecorate %207 RelaxedPrecision
OpDecorate %210 RelaxedPrecision OpDecorate %210 RelaxedPrecision
OpDecorate %211 RelaxedPrecision OpDecorate %211 RelaxedPrecision
OpDecorate %212 RelaxedPrecision
OpDecorate %214 RelaxedPrecision OpDecorate %214 RelaxedPrecision
OpDecorate %215 RelaxedPrecision OpDecorate %215 RelaxedPrecision
OpDecorate %216 RelaxedPrecision
OpDecorate %219 RelaxedPrecision OpDecorate %219 RelaxedPrecision
OpDecorate %220 RelaxedPrecision OpDecorate %220 RelaxedPrecision
OpDecorate %221 RelaxedPrecision
OpDecorate %223 RelaxedPrecision OpDecorate %223 RelaxedPrecision
OpDecorate %224 RelaxedPrecision OpDecorate %224 RelaxedPrecision
OpDecorate %225 RelaxedPrecision
OpDecorate %228 RelaxedPrecision OpDecorate %228 RelaxedPrecision
OpDecorate %229 RelaxedPrecision OpDecorate %229 RelaxedPrecision
OpDecorate %231 RelaxedPrecision OpDecorate %231 RelaxedPrecision

View File

@ -38,7 +38,9 @@ OpDecorate %29 RelaxedPrecision
OpDecorate %30 RelaxedPrecision OpDecorate %30 RelaxedPrecision
OpDecorate %31 RelaxedPrecision OpDecorate %31 RelaxedPrecision
OpDecorate %53 RelaxedPrecision OpDecorate %53 RelaxedPrecision
OpDecorate %54 RelaxedPrecision
OpDecorate %57 RelaxedPrecision OpDecorate %57 RelaxedPrecision
OpDecorate %58 RelaxedPrecision
%float = OpTypeFloat 32 %float = OpTypeFloat 32
%v4float = OpTypeVector %float 4 %v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float %_ptr_Output_v4float = OpTypePointer Output %v4float

View File

@ -43,8 +43,11 @@ OpDecorate %51 RelaxedPrecision
OpDecorate %a RelaxedPrecision OpDecorate %a RelaxedPrecision
OpDecorate %b RelaxedPrecision OpDecorate %b RelaxedPrecision
OpDecorate %58 RelaxedPrecision OpDecorate %58 RelaxedPrecision
OpDecorate %59 RelaxedPrecision
OpDecorate %61 RelaxedPrecision OpDecorate %61 RelaxedPrecision
OpDecorate %62 RelaxedPrecision
OpDecorate %64 RelaxedPrecision OpDecorate %64 RelaxedPrecision
OpDecorate %65 RelaxedPrecision
OpDecorate %68 RelaxedPrecision OpDecorate %68 RelaxedPrecision
OpDecorate %69 RelaxedPrecision OpDecorate %69 RelaxedPrecision
OpDecorate %75 RelaxedPrecision OpDecorate %75 RelaxedPrecision

View File

@ -44,18 +44,25 @@ OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
OpDecorate %_UniformBuffer Block OpDecorate %_UniformBuffer Block
OpDecorate %33 Binding 0 OpDecorate %33 Binding 0
OpDecorate %33 DescriptorSet 0 OpDecorate %33 DescriptorSet 0
OpDecorate %197 RelaxedPrecision
OpDecorate %202 RelaxedPrecision
OpDecorate %207 RelaxedPrecision
OpDecorate %212 RelaxedPrecision
OpDecorate %217 RelaxedPrecision OpDecorate %217 RelaxedPrecision
OpDecorate %218 RelaxedPrecision OpDecorate %218 RelaxedPrecision
OpDecorate %219 RelaxedPrecision OpDecorate %219 RelaxedPrecision
OpDecorate %220 RelaxedPrecision
OpDecorate %225 RelaxedPrecision OpDecorate %225 RelaxedPrecision
OpDecorate %226 RelaxedPrecision OpDecorate %226 RelaxedPrecision
OpDecorate %227 RelaxedPrecision OpDecorate %227 RelaxedPrecision
OpDecorate %228 RelaxedPrecision OpDecorate %228 RelaxedPrecision
OpDecorate %229 RelaxedPrecision
OpDecorate %234 RelaxedPrecision OpDecorate %234 RelaxedPrecision
OpDecorate %235 RelaxedPrecision OpDecorate %235 RelaxedPrecision
OpDecorate %236 RelaxedPrecision OpDecorate %236 RelaxedPrecision
OpDecorate %237 RelaxedPrecision OpDecorate %237 RelaxedPrecision
OpDecorate %238 RelaxedPrecision OpDecorate %238 RelaxedPrecision
OpDecorate %239 RelaxedPrecision
OpDecorate %299 RelaxedPrecision OpDecorate %299 RelaxedPrecision
OpDecorate %301 RelaxedPrecision OpDecorate %301 RelaxedPrecision
OpDecorate %302 RelaxedPrecision OpDecorate %302 RelaxedPrecision

View File

@ -66,6 +66,7 @@ OpDecorate %115 RelaxedPrecision
OpDecorate %116 RelaxedPrecision OpDecorate %116 RelaxedPrecision
OpDecorate %121 RelaxedPrecision OpDecorate %121 RelaxedPrecision
OpDecorate %122 RelaxedPrecision OpDecorate %122 RelaxedPrecision
OpDecorate %123 RelaxedPrecision
OpDecorate %129 RelaxedPrecision OpDecorate %129 RelaxedPrecision
OpDecorate %130 RelaxedPrecision OpDecorate %130 RelaxedPrecision
OpDecorate %131 RelaxedPrecision OpDecorate %131 RelaxedPrecision
@ -73,6 +74,7 @@ OpDecorate %132 RelaxedPrecision
OpDecorate %135 RelaxedPrecision OpDecorate %135 RelaxedPrecision
OpDecorate %138 RelaxedPrecision OpDecorate %138 RelaxedPrecision
OpDecorate %139 RelaxedPrecision OpDecorate %139 RelaxedPrecision
OpDecorate %140 RelaxedPrecision
OpDecorate %145 RelaxedPrecision OpDecorate %145 RelaxedPrecision
OpDecorate %146 RelaxedPrecision OpDecorate %146 RelaxedPrecision
OpDecorate %147 RelaxedPrecision OpDecorate %147 RelaxedPrecision
@ -80,6 +82,7 @@ OpDecorate %148 RelaxedPrecision
OpDecorate %151 RelaxedPrecision OpDecorate %151 RelaxedPrecision
OpDecorate %154 RelaxedPrecision OpDecorate %154 RelaxedPrecision
OpDecorate %155 RelaxedPrecision OpDecorate %155 RelaxedPrecision
OpDecorate %156 RelaxedPrecision
OpDecorate %161 RelaxedPrecision OpDecorate %161 RelaxedPrecision
OpDecorate %162 RelaxedPrecision OpDecorate %162 RelaxedPrecision
OpDecorate %163 RelaxedPrecision OpDecorate %163 RelaxedPrecision
@ -87,6 +90,7 @@ OpDecorate %164 RelaxedPrecision
OpDecorate %167 RelaxedPrecision OpDecorate %167 RelaxedPrecision
OpDecorate %170 RelaxedPrecision OpDecorate %170 RelaxedPrecision
OpDecorate %171 RelaxedPrecision OpDecorate %171 RelaxedPrecision
OpDecorate %172 RelaxedPrecision
OpDecorate %177 RelaxedPrecision OpDecorate %177 RelaxedPrecision
OpDecorate %178 RelaxedPrecision OpDecorate %178 RelaxedPrecision
OpDecorate %179 RelaxedPrecision OpDecorate %179 RelaxedPrecision
@ -94,6 +98,7 @@ OpDecorate %180 RelaxedPrecision
OpDecorate %183 RelaxedPrecision OpDecorate %183 RelaxedPrecision
OpDecorate %186 RelaxedPrecision OpDecorate %186 RelaxedPrecision
OpDecorate %187 RelaxedPrecision OpDecorate %187 RelaxedPrecision
OpDecorate %188 RelaxedPrecision
OpDecorate %193 RelaxedPrecision OpDecorate %193 RelaxedPrecision
OpDecorate %194 RelaxedPrecision OpDecorate %194 RelaxedPrecision
OpDecorate %195 RelaxedPrecision OpDecorate %195 RelaxedPrecision
@ -101,6 +106,7 @@ OpDecorate %196 RelaxedPrecision
OpDecorate %199 RelaxedPrecision OpDecorate %199 RelaxedPrecision
OpDecorate %202 RelaxedPrecision OpDecorate %202 RelaxedPrecision
OpDecorate %203 RelaxedPrecision OpDecorate %203 RelaxedPrecision
OpDecorate %204 RelaxedPrecision
OpDecorate %209 RelaxedPrecision OpDecorate %209 RelaxedPrecision
OpDecorate %210 RelaxedPrecision OpDecorate %210 RelaxedPrecision
OpDecorate %211 RelaxedPrecision OpDecorate %211 RelaxedPrecision
@ -108,6 +114,7 @@ OpDecorate %212 RelaxedPrecision
OpDecorate %215 RelaxedPrecision OpDecorate %215 RelaxedPrecision
OpDecorate %218 RelaxedPrecision OpDecorate %218 RelaxedPrecision
OpDecorate %219 RelaxedPrecision OpDecorate %219 RelaxedPrecision
OpDecorate %220 RelaxedPrecision
OpDecorate %225 RelaxedPrecision OpDecorate %225 RelaxedPrecision
OpDecorate %226 RelaxedPrecision OpDecorate %226 RelaxedPrecision
OpDecorate %227 RelaxedPrecision OpDecorate %227 RelaxedPrecision
@ -115,6 +122,7 @@ OpDecorate %228 RelaxedPrecision
OpDecorate %231 RelaxedPrecision OpDecorate %231 RelaxedPrecision
OpDecorate %234 RelaxedPrecision OpDecorate %234 RelaxedPrecision
OpDecorate %235 RelaxedPrecision OpDecorate %235 RelaxedPrecision
OpDecorate %236 RelaxedPrecision
OpDecorate %241 RelaxedPrecision OpDecorate %241 RelaxedPrecision
OpDecorate %242 RelaxedPrecision OpDecorate %242 RelaxedPrecision
OpDecorate %243 RelaxedPrecision OpDecorate %243 RelaxedPrecision
@ -122,6 +130,7 @@ OpDecorate %244 RelaxedPrecision
OpDecorate %247 RelaxedPrecision OpDecorate %247 RelaxedPrecision
OpDecorate %250 RelaxedPrecision OpDecorate %250 RelaxedPrecision
OpDecorate %251 RelaxedPrecision OpDecorate %251 RelaxedPrecision
OpDecorate %252 RelaxedPrecision
OpDecorate %257 RelaxedPrecision OpDecorate %257 RelaxedPrecision
OpDecorate %258 RelaxedPrecision OpDecorate %258 RelaxedPrecision
OpDecorate %259 RelaxedPrecision OpDecorate %259 RelaxedPrecision
@ -129,6 +138,7 @@ OpDecorate %260 RelaxedPrecision
OpDecorate %263 RelaxedPrecision OpDecorate %263 RelaxedPrecision
OpDecorate %266 RelaxedPrecision OpDecorate %266 RelaxedPrecision
OpDecorate %267 RelaxedPrecision OpDecorate %267 RelaxedPrecision
OpDecorate %268 RelaxedPrecision
OpDecorate %273 RelaxedPrecision OpDecorate %273 RelaxedPrecision
OpDecorate %274 RelaxedPrecision OpDecorate %274 RelaxedPrecision
OpDecorate %275 RelaxedPrecision OpDecorate %275 RelaxedPrecision
@ -136,6 +146,7 @@ OpDecorate %276 RelaxedPrecision
OpDecorate %279 RelaxedPrecision OpDecorate %279 RelaxedPrecision
OpDecorate %282 RelaxedPrecision OpDecorate %282 RelaxedPrecision
OpDecorate %283 RelaxedPrecision OpDecorate %283 RelaxedPrecision
OpDecorate %284 RelaxedPrecision
OpDecorate %289 RelaxedPrecision OpDecorate %289 RelaxedPrecision
OpDecorate %290 RelaxedPrecision OpDecorate %290 RelaxedPrecision
OpDecorate %291 RelaxedPrecision OpDecorate %291 RelaxedPrecision
@ -143,6 +154,7 @@ OpDecorate %292 RelaxedPrecision
OpDecorate %295 RelaxedPrecision OpDecorate %295 RelaxedPrecision
OpDecorate %298 RelaxedPrecision OpDecorate %298 RelaxedPrecision
OpDecorate %299 RelaxedPrecision OpDecorate %299 RelaxedPrecision
OpDecorate %300 RelaxedPrecision
OpDecorate %305 RelaxedPrecision OpDecorate %305 RelaxedPrecision
OpDecorate %306 RelaxedPrecision OpDecorate %306 RelaxedPrecision
OpDecorate %307 RelaxedPrecision OpDecorate %307 RelaxedPrecision
@ -150,6 +162,7 @@ OpDecorate %308 RelaxedPrecision
OpDecorate %311 RelaxedPrecision OpDecorate %311 RelaxedPrecision
OpDecorate %314 RelaxedPrecision OpDecorate %314 RelaxedPrecision
OpDecorate %315 RelaxedPrecision OpDecorate %315 RelaxedPrecision
OpDecorate %316 RelaxedPrecision
OpDecorate %321 RelaxedPrecision OpDecorate %321 RelaxedPrecision
OpDecorate %322 RelaxedPrecision OpDecorate %322 RelaxedPrecision
OpDecorate %323 RelaxedPrecision OpDecorate %323 RelaxedPrecision
@ -157,6 +170,7 @@ OpDecorate %324 RelaxedPrecision
OpDecorate %327 RelaxedPrecision OpDecorate %327 RelaxedPrecision
OpDecorate %330 RelaxedPrecision OpDecorate %330 RelaxedPrecision
OpDecorate %331 RelaxedPrecision OpDecorate %331 RelaxedPrecision
OpDecorate %332 RelaxedPrecision
OpDecorate %337 RelaxedPrecision OpDecorate %337 RelaxedPrecision
OpDecorate %338 RelaxedPrecision OpDecorate %338 RelaxedPrecision
OpDecorate %339 RelaxedPrecision OpDecorate %339 RelaxedPrecision
@ -164,6 +178,7 @@ OpDecorate %340 RelaxedPrecision
OpDecorate %343 RelaxedPrecision OpDecorate %343 RelaxedPrecision
OpDecorate %346 RelaxedPrecision OpDecorate %346 RelaxedPrecision
OpDecorate %347 RelaxedPrecision OpDecorate %347 RelaxedPrecision
OpDecorate %348 RelaxedPrecision
OpDecorate %353 RelaxedPrecision OpDecorate %353 RelaxedPrecision
OpDecorate %354 RelaxedPrecision OpDecorate %354 RelaxedPrecision
OpDecorate %355 RelaxedPrecision OpDecorate %355 RelaxedPrecision
@ -171,6 +186,7 @@ OpDecorate %356 RelaxedPrecision
OpDecorate %359 RelaxedPrecision OpDecorate %359 RelaxedPrecision
OpDecorate %362 RelaxedPrecision OpDecorate %362 RelaxedPrecision
OpDecorate %363 RelaxedPrecision OpDecorate %363 RelaxedPrecision
OpDecorate %364 RelaxedPrecision
OpDecorate %369 RelaxedPrecision OpDecorate %369 RelaxedPrecision
OpDecorate %370 RelaxedPrecision OpDecorate %370 RelaxedPrecision
OpDecorate %371 RelaxedPrecision OpDecorate %371 RelaxedPrecision
@ -178,6 +194,7 @@ OpDecorate %372 RelaxedPrecision
OpDecorate %375 RelaxedPrecision OpDecorate %375 RelaxedPrecision
OpDecorate %378 RelaxedPrecision OpDecorate %378 RelaxedPrecision
OpDecorate %379 RelaxedPrecision OpDecorate %379 RelaxedPrecision
OpDecorate %380 RelaxedPrecision
OpDecorate %385 RelaxedPrecision OpDecorate %385 RelaxedPrecision
OpDecorate %386 RelaxedPrecision OpDecorate %386 RelaxedPrecision
OpDecorate %387 RelaxedPrecision OpDecorate %387 RelaxedPrecision
@ -185,6 +202,7 @@ OpDecorate %388 RelaxedPrecision
OpDecorate %391 RelaxedPrecision OpDecorate %391 RelaxedPrecision
OpDecorate %394 RelaxedPrecision OpDecorate %394 RelaxedPrecision
OpDecorate %395 RelaxedPrecision OpDecorate %395 RelaxedPrecision
OpDecorate %396 RelaxedPrecision
OpDecorate %401 RelaxedPrecision OpDecorate %401 RelaxedPrecision
OpDecorate %402 RelaxedPrecision OpDecorate %402 RelaxedPrecision
OpDecorate %403 RelaxedPrecision OpDecorate %403 RelaxedPrecision
@ -192,6 +210,7 @@ OpDecorate %404 RelaxedPrecision
OpDecorate %407 RelaxedPrecision OpDecorate %407 RelaxedPrecision
OpDecorate %410 RelaxedPrecision OpDecorate %410 RelaxedPrecision
OpDecorate %411 RelaxedPrecision OpDecorate %411 RelaxedPrecision
OpDecorate %412 RelaxedPrecision
OpDecorate %417 RelaxedPrecision OpDecorate %417 RelaxedPrecision
OpDecorate %418 RelaxedPrecision OpDecorate %418 RelaxedPrecision
OpDecorate %419 RelaxedPrecision OpDecorate %419 RelaxedPrecision
@ -199,6 +218,7 @@ OpDecorate %420 RelaxedPrecision
OpDecorate %423 RelaxedPrecision OpDecorate %423 RelaxedPrecision
OpDecorate %426 RelaxedPrecision OpDecorate %426 RelaxedPrecision
OpDecorate %427 RelaxedPrecision OpDecorate %427 RelaxedPrecision
OpDecorate %428 RelaxedPrecision
OpDecorate %433 RelaxedPrecision OpDecorate %433 RelaxedPrecision
OpDecorate %434 RelaxedPrecision OpDecorate %434 RelaxedPrecision
OpDecorate %435 RelaxedPrecision OpDecorate %435 RelaxedPrecision
@ -206,6 +226,7 @@ OpDecorate %436 RelaxedPrecision
OpDecorate %439 RelaxedPrecision OpDecorate %439 RelaxedPrecision
OpDecorate %442 RelaxedPrecision OpDecorate %442 RelaxedPrecision
OpDecorate %443 RelaxedPrecision OpDecorate %443 RelaxedPrecision
OpDecorate %444 RelaxedPrecision
OpDecorate %449 RelaxedPrecision OpDecorate %449 RelaxedPrecision
OpDecorate %450 RelaxedPrecision OpDecorate %450 RelaxedPrecision
OpDecorate %451 RelaxedPrecision OpDecorate %451 RelaxedPrecision
@ -213,6 +234,7 @@ OpDecorate %452 RelaxedPrecision
OpDecorate %455 RelaxedPrecision OpDecorate %455 RelaxedPrecision
OpDecorate %458 RelaxedPrecision OpDecorate %458 RelaxedPrecision
OpDecorate %459 RelaxedPrecision OpDecorate %459 RelaxedPrecision
OpDecorate %460 RelaxedPrecision
OpDecorate %465 RelaxedPrecision OpDecorate %465 RelaxedPrecision
OpDecorate %466 RelaxedPrecision OpDecorate %466 RelaxedPrecision
OpDecorate %467 RelaxedPrecision OpDecorate %467 RelaxedPrecision
@ -220,6 +242,7 @@ OpDecorate %468 RelaxedPrecision
OpDecorate %471 RelaxedPrecision OpDecorate %471 RelaxedPrecision
OpDecorate %474 RelaxedPrecision OpDecorate %474 RelaxedPrecision
OpDecorate %475 RelaxedPrecision OpDecorate %475 RelaxedPrecision
OpDecorate %476 RelaxedPrecision
OpDecorate %481 RelaxedPrecision OpDecorate %481 RelaxedPrecision
OpDecorate %482 RelaxedPrecision OpDecorate %482 RelaxedPrecision
OpDecorate %483 RelaxedPrecision OpDecorate %483 RelaxedPrecision
@ -227,6 +250,7 @@ OpDecorate %484 RelaxedPrecision
OpDecorate %487 RelaxedPrecision OpDecorate %487 RelaxedPrecision
OpDecorate %490 RelaxedPrecision OpDecorate %490 RelaxedPrecision
OpDecorate %491 RelaxedPrecision OpDecorate %491 RelaxedPrecision
OpDecorate %492 RelaxedPrecision
OpDecorate %497 RelaxedPrecision OpDecorate %497 RelaxedPrecision
OpDecorate %498 RelaxedPrecision OpDecorate %498 RelaxedPrecision
OpDecorate %499 RelaxedPrecision OpDecorate %499 RelaxedPrecision
@ -234,6 +258,7 @@ OpDecorate %500 RelaxedPrecision
OpDecorate %503 RelaxedPrecision OpDecorate %503 RelaxedPrecision
OpDecorate %506 RelaxedPrecision OpDecorate %506 RelaxedPrecision
OpDecorate %507 RelaxedPrecision OpDecorate %507 RelaxedPrecision
OpDecorate %508 RelaxedPrecision
OpDecorate %513 RelaxedPrecision OpDecorate %513 RelaxedPrecision
OpDecorate %514 RelaxedPrecision OpDecorate %514 RelaxedPrecision
OpDecorate %515 RelaxedPrecision OpDecorate %515 RelaxedPrecision

View File

@ -33,9 +33,12 @@ OpDecorate %36 RelaxedPrecision
OpDecorate %37 RelaxedPrecision OpDecorate %37 RelaxedPrecision
OpDecorate %38 RelaxedPrecision OpDecorate %38 RelaxedPrecision
OpDecorate %t RelaxedPrecision OpDecorate %t RelaxedPrecision
OpDecorate %45 RelaxedPrecision
OpDecorate %47 RelaxedPrecision
OpDecorate %48 RelaxedPrecision OpDecorate %48 RelaxedPrecision
OpDecorate %49 RelaxedPrecision OpDecorate %49 RelaxedPrecision
OpDecorate %50 RelaxedPrecision OpDecorate %50 RelaxedPrecision
OpDecorate %52 RelaxedPrecision
OpDecorate %54 RelaxedPrecision OpDecorate %54 RelaxedPrecision
OpDecorate %55 RelaxedPrecision OpDecorate %55 RelaxedPrecision
OpDecorate %56 RelaxedPrecision OpDecorate %56 RelaxedPrecision

View File

@ -60,19 +60,25 @@ OpDecorate %78 RelaxedPrecision
OpDecorate %79 RelaxedPrecision OpDecorate %79 RelaxedPrecision
OpDecorate %80 RelaxedPrecision OpDecorate %80 RelaxedPrecision
OpDecorate %81 RelaxedPrecision OpDecorate %81 RelaxedPrecision
OpDecorate %82 RelaxedPrecision
OpDecorate %86 RelaxedPrecision OpDecorate %86 RelaxedPrecision
OpDecorate %87 RelaxedPrecision OpDecorate %87 RelaxedPrecision
OpDecorate %88 RelaxedPrecision OpDecorate %88 RelaxedPrecision
OpDecorate %89 RelaxedPrecision
OpDecorate %91 RelaxedPrecision OpDecorate %91 RelaxedPrecision
OpDecorate %92 RelaxedPrecision OpDecorate %92 RelaxedPrecision
OpDecorate %93 RelaxedPrecision OpDecorate %93 RelaxedPrecision
OpDecorate %94 RelaxedPrecision
OpDecorate %96 RelaxedPrecision OpDecorate %96 RelaxedPrecision
OpDecorate %97 RelaxedPrecision OpDecorate %97 RelaxedPrecision
OpDecorate %98 RelaxedPrecision
OpDecorate %100 RelaxedPrecision OpDecorate %100 RelaxedPrecision
OpDecorate %101 RelaxedPrecision OpDecorate %101 RelaxedPrecision
OpDecorate %102 RelaxedPrecision
OpDecorate %104 RelaxedPrecision OpDecorate %104 RelaxedPrecision
OpDecorate %105 RelaxedPrecision OpDecorate %105 RelaxedPrecision
OpDecorate %106 RelaxedPrecision OpDecorate %106 RelaxedPrecision
OpDecorate %107 RelaxedPrecision
OpDecorate %109 RelaxedPrecision OpDecorate %109 RelaxedPrecision
OpDecorate %110 RelaxedPrecision OpDecorate %110 RelaxedPrecision
OpDecorate %113 RelaxedPrecision OpDecorate %113 RelaxedPrecision