Lines Matching refs:ubo
4266 OpEntryPoint Fragment %main "main" %in_var_TEXCOORD0 %out_var_SV_TARGET %textureposition %samplerposition %textureNormal %samplerNormal %textureAlbedo %samplerAlbedo %textureShadowMap %samplerShadowMap %ubo
4304 cbuffer ubo : register(b4) { UBO ubo; }
4350 float4 shadowClip = mul(ubo.lights[i].viewMatrix, float4(fragPos.xyz, 1.0));
4379 float3 L = ubo.lights[i].position.xyz - fragPos;
4385 float3 V = ubo.viewPos.xyz - fragPos;
4393 float3 dir = normalize(ubo.lights[i].position.xyz - ubo.lights[i].target.xyz);
4409 fragcolor += float3((diff + spec) * spotEffect * heightAttenuation) * ubo.lights[i].color.rgb * albedo.rgb;
4413 if (ubo.useShadows > 0)
4476 %282 = OpString "ubo"
4477 %285 = OpString "type.ubo"
4504 OpName %type_ubo "type.ubo"
4505 OpMemberName %type_ubo 0 "ubo"
4516 OpName %ubo "ubo"
4541 OpDecorate %ubo DescriptorSet 0
4542 OpDecorate %ubo Binding 4
4749 %ubo = OpVariable %_ptr_Uniform_type_ubo Uniform
4845 %287 = OpExtInst %void %2 DebugGlobalVariable %282 %286 %64 %uint_35 %uint_9 %65 %282 %ubo %uint_8
4952 %1504 = OpAccessChain %_ptr_Uniform_UBO %ubo %int_0
4972 %1516 = OpAccessChain %_ptr_Uniform_UBO %ubo %int_0
5002 %1533 = OpAccessChain %_ptr_Uniform_UBO %ubo %int_0
5009 %1538 = OpAccessChain %_ptr_Uniform_UBO %ubo %int_0
5075 %1592 = OpAccessChain %_ptr_Uniform_UBO %ubo %int_0
5105 %1606 = OpAccessChain %_ptr_Uniform_UBO %ubo %int_0
5145 %1819 = OpAccessChain %_ptr_Uniform_UBO %ubo %int_0