/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | TextureStage.cpp | 100 …uniforms.constantColor4[0][0] = uniforms.constantColor4[0][1] = uniforms.constantColor4[0][2] = un… in setConstantColor() 101 …uniforms.constantColor4[1][0] = uniforms.constantColor4[1][1] = uniforms.constantColor4[1][2] = un… in setConstantColor() 102 …uniforms.constantColor4[2][0] = uniforms.constantColor4[2][1] = uniforms.constantColor4[2][2] = un… in setConstantColor() 103 …uniforms.constantColor4[3][0] = uniforms.constantColor4[3][1] = uniforms.constantColor4[3][2] = un… in setConstantColor() 108 uniforms.bumpmapMatrix4F[element / 2][element % 2][0] = value; in setBumpmapMatrix() 109 uniforms.bumpmapMatrix4F[element / 2][element % 2][1] = value; in setBumpmapMatrix() 110 uniforms.bumpmapMatrix4F[element / 2][element % 2][2] = value; in setBumpmapMatrix() 111 uniforms.bumpmapMatrix4F[element / 2][element % 2][3] = value; in setBumpmapMatrix() 113 uniforms.bumpmapMatrix4W[element / 2][element % 2][0] = iround(4095 * value); in setBumpmapMatrix() 114 uniforms.bumpmapMatrix4W[element / 2][element % 2][1] = iround(4095 * value); in setBumpmapMatrix() [all …]
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 1113.wgsl.expected.glsl | 12 } uniforms; 41 vec3 bbMin = vec3(uniforms.bbMin.x, uniforms.bbMin.y, uniforms.bbMin.z); 42 vec3 bbMax = vec3(uniforms.bbMax.x, uniforms.bbMax.y, uniforms.bbMax.z); 45 float gridSize = float(uniforms.gridSize); 46 float gx = ((gridSize * (position.x - uniforms.bbMin.x)) / cubeSize); 47 float gy = ((gridSize * (position.y - uniforms.bbMin.y)) / cubeSize); 48 float gz = ((gridSize * (position.z - uniforms.bbMin.z)) / cubeSize); 63 uint g42 = uniforms.numTriangles; 77 if ((triangleIndex >= uniforms.numTriangles)) { 89 uint voxelIndex = toIndex1D(uniforms.gridSize, voxelPos); [all …]
|
D | 1113.wgsl.expected.wgsl | 52 [[binding(0), group(0)]] var<uniform> uniforms : Uniforms; 65 var bbMin = vec3<f32>(uniforms.bbMin.x, uniforms.bbMin.y, uniforms.bbMin.z); 66 var bbMax = vec3<f32>(uniforms.bbMax.x, uniforms.bbMax.y, uniforms.bbMax.z); 69 var gridSize = f32(uniforms.gridSize); 70 var gx = ((gridSize * (position.x - uniforms.bbMin.x)) / cubeSize); 71 var gy = ((gridSize * (position.y - uniforms.bbMin.y)) / cubeSize); 72 var gz = ((gridSize * (position.z - uniforms.bbMin.z)) / cubeSize); 94 var g42 = uniforms.numTriangles; 105 if ((triangleIndex >= uniforms.numTriangles)) { 117 var voxelIndex = toIndex1D(uniforms.gridSize, voxelPos); [all …]
|
D | 1113.wgsl.expected.hlsl | 31 uint4 uniforms[3]; 40 float3 bbMin = float3(asfloat(uniforms[1].x), asfloat(uniforms[1].y), asfloat(uniforms[1].z)); 41 float3 bbMax = float3(asfloat(uniforms[2].x), asfloat(uniforms[2].y), asfloat(uniforms[2].z)); 44 float gridSize = float(uniforms[0].y); 45 float gx = ((gridSize * (position.x - asfloat(uniforms[1].x))) / cubeSize); 46 float gy = ((gridSize * (position.y - asfloat(uniforms[1].y))) / cubeSize); 47 float gz = ((gridSize * (position.z - asfloat(uniforms[1].z))) / cubeSize); 69 uint g42 = uniforms[0].x; 83 if ((triangleIndex >= uniforms[0].x)) { 95 uint voxelIndex = toIndex1D(uniforms[0].y, voxelPos); [all …]
|
D | 1113.wgsl | 33 [[binding(0), group(0)]] var<uniform> uniforms : Uniforms; 46 var bbMin = vec3<f32>(uniforms.bbMin.x, uniforms.bbMin.y, uniforms.bbMin.z); 47 var bbMax = vec3<f32>(uniforms.bbMax.x, uniforms.bbMax.y, uniforms.bbMax.z); 50 var gridSize = f32(uniforms.gridSize); 52 var gx = gridSize * (position.x - uniforms.bbMin.x) / cubeSize; 53 var gy = gridSize * (position.y - uniforms.bbMin.y) / cubeSize; 54 var gz = gridSize * (position.z - uniforms.bbMin.z) / cubeSize; 89 var g42 = uniforms.numTriangles; 103 if(triangleIndex >= uniforms.numTriangles){ 119 var voxelIndex = toIndex1D(uniforms.gridSize, voxelPos); [all …]
|
D | 913.wgsl.expected.wgsl | 21 [[group(0), binding(3)]] var<uniform> uniforms : Uniforms; 34 …uniforms.dstCopyOrigin.x) || (dstTexCoord.y < uniforms.dstCopyOrigin.y)) || (dstTexCoord.x >= (uni… 37 var srcTexCoord : vec2<u32> = ((dstTexCoord - uniforms.dstCopyOrigin) + uniforms.srcCopyOrigin); 38 if ((uniforms.dstTextureFlipY == 1u)) { 43 if ((uniforms.channelCount == 2u)) {
|
D | 913.wgsl.expected.hlsl | 5 uint4 uniforms[2]; 26 bool tint_tmp_4 = (dstTexCoord.x < uniforms[1].x); 28 tint_tmp_4 = (dstTexCoord.y < uniforms[1].y); 32 tint_tmp_3 = (dstTexCoord.x >= (uniforms[1].x + uniforms[1].z)); 36 tint_tmp_2 = (dstTexCoord.y >= (uniforms[1].y + uniforms[1].w)); 45 uint2 srcTexCoord = ((dstTexCoord - uniforms[1].xy) + uniforms[0].zw); 46 if ((uniforms[0].x == 1u)) { 51 if ((uniforms[0].y == 2u)) {
|
D | 913.wgsl.expected.glsl | 16 } uniforms; 32 bool tint_tmp_2 = (dstTexCoord.x < uniforms.dstCopyOrigin.x); 34 tint_tmp_2 = (dstTexCoord.y < uniforms.dstCopyOrigin.y); 38 tint_tmp_1 = (dstTexCoord.x >= (uniforms.dstCopyOrigin.x + uniforms.copySize.x)); 42 tint_tmp = (dstTexCoord.y >= (uniforms.dstCopyOrigin.y + uniforms.copySize.y)); 51 uvec2 srcTexCoord = ((dstTexCoord - uniforms.dstCopyOrigin) + uniforms.srcCopyOrigin); 52 if ((uniforms.dstTextureFlipY == 1u)) { 57 if ((uniforms.channelCount == 2u)) {
|
D | 913.wgsl | 14 [[group(0), binding(3)]] var<uniform> uniforms : Uniforms; 28 if (dstTexCoord.x < uniforms.dstCopyOrigin.x || 29 dstTexCoord.y < uniforms.dstCopyOrigin.y || 30 dstTexCoord.x >= uniforms.dstCopyOrigin.x + uniforms.copySize.x || 31 dstTexCoord.y >= uniforms.dstCopyOrigin.y + uniforms.copySize.y) { 36 var srcTexCoord : vec2<u32> = dstTexCoord - uniforms.dstCopyOrigin + 37 uniforms.srcCopyOrigin; 42 if (uniforms.dstTextureFlipY == 1u) { 51 if (uniforms.channelCount == 2u) { // All have rg components.
|
D | 1046.wgsl.expected.wgsl | 19 [[binding(0), group(0)]] var<uniform> uniforms : Uniforms; 47 if ((uniforms.color_source == 0u)) { 49 } elseif ((uniforms.color_source == 1u)) { 52 } elseif ((uniforms.color_source == 2u)) { 53 color = uniforms.color; 54 } elseif ((uniforms.color_source == 3u)) { 64 _ = uniforms;
|
D | 1046.wgsl | 18 [[binding(0), group(0)]] var<uniform> uniforms : Uniforms; 39 if(uniforms.color_source == 0u){ 44 }elseif(uniforms.color_source == 1u){ 51 }elseif(uniforms.color_source == 2u){ 54 color = uniforms.color; 56 }elseif(uniforms.color_source == 3u){ 72 _ = uniforms;
|
/third_party/skia/third_party/externals/tint/test/bug/fxc/matrix_assignment_dynamic_index/ |
D | local_assign_scalar_xy.wgsl.expected.spvasm | 13 OpName %uniforms "uniforms" 19 OpDecorate %uniforms NonWritable 20 OpDecorate %uniforms DescriptorSet 1 21 OpDecorate %uniforms Binding 4 25 %uniforms = OpVariable %_ptr_Uniform_Uniforms Uniform 41 %17 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_0 43 %20 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_1
|
D | module_assign_scalar_xy.wgsl.expected.spvasm | 13 OpName %uniforms "uniforms" 19 OpDecorate %uniforms NonWritable 20 OpDecorate %uniforms DescriptorSet 1 21 OpDecorate %uniforms Binding 4 25 %uniforms = OpVariable %_ptr_Uniform_Uniforms Uniform 41 %17 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_0 43 %20 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_1
|
D | local_assign_scalar_y.wgsl.expected.spvasm | 13 OpName %uniforms "uniforms" 19 OpDecorate %uniforms NonWritable 20 OpDecorate %uniforms DescriptorSet 1 21 OpDecorate %uniforms Binding 4 25 %uniforms = OpVariable %_ptr_Uniform_Uniforms Uniform 42 %19 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_1
|
D | local_assign_scalar_x.wgsl.expected.spvasm | 13 OpName %uniforms "uniforms" 19 OpDecorate %uniforms NonWritable 20 OpDecorate %uniforms DescriptorSet 1 21 OpDecorate %uniforms Binding 4 25 %uniforms = OpVariable %_ptr_Uniform_Uniforms Uniform 42 %17 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_0
|
D | local_assign_vector.wgsl.expected.spvasm | 13 OpName %uniforms "uniforms" 19 OpDecorate %uniforms NonWritable 20 OpDecorate %uniforms DescriptorSet 1 21 OpDecorate %uniforms Binding 4 25 %uniforms = OpVariable %_ptr_Uniform_Uniforms Uniform 41 %17 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_0
|
D | module_assign_scalar_y.wgsl.expected.spvasm | 13 OpName %uniforms "uniforms" 19 OpDecorate %uniforms NonWritable 20 OpDecorate %uniforms DescriptorSet 1 21 OpDecorate %uniforms Binding 4 25 %uniforms = OpVariable %_ptr_Uniform_Uniforms Uniform 42 %19 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_1
|
D | module_assign_vector.wgsl.expected.spvasm | 13 OpName %uniforms "uniforms" 19 OpDecorate %uniforms NonWritable 20 OpDecorate %uniforms DescriptorSet 1 21 OpDecorate %uniforms Binding 4 25 %uniforms = OpVariable %_ptr_Uniform_Uniforms Uniform 41 %17 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_0
|
D | module_assign_scalar_x.wgsl.expected.spvasm | 13 OpName %uniforms "uniforms" 19 OpDecorate %uniforms NonWritable 20 OpDecorate %uniforms DescriptorSet 1 21 OpDecorate %uniforms Binding 4 25 %uniforms = OpVariable %_ptr_Uniform_Uniforms Uniform 42 %17 = OpAccessChain %_ptr_Uniform_uint %uniforms %uint_0
|
/third_party/skia/src/core/ |
D | SkRuntimeEffect.cpp | 195 skvm::Uniforms* uniforms, in make_skvm_uniforms() argument 207 uniform.push_back(p->uniform32(uniforms->push(bits)).id); in make_skvm_uniforms() 297 std::vector<Uniform> uniforms; in MakeInternal() local 355 uniforms.push_back(uni); in MakeInternal() 373 std::move(uniforms), in MakeInternal() 501 std::vector<Uniform>&& uniforms, in SkRuntimeEffect() argument 508 , fUniforms(std::move(uniforms)) in SkRuntimeEffect() 730 sk_sp<SkData> uniforms = nullptr; in get_xformed_uniforms() local 732 if (!uniforms) { in get_xformed_uniforms() 733 uniforms = SkData::MakeWithCopy(baseUniforms->data(), baseUniforms->size()); in get_xformed_uniforms() [all …]
|
/third_party/skia/third_party/externals/tint/test/bug/chromium/ |
D | 1273230.wgsl | 65 [[binding(0), group(0)]] var<uniform> uniforms : Uniforms; 78 var bbMin = vec3<f32>(uniforms.bbMin.x, uniforms.bbMin.y, uniforms.bbMin.z); 79 var bbMax = vec3<f32>(uniforms.bbMax.x, uniforms.bbMax.y, uniforms.bbMax.z); 82 var gridSize = f32(uniforms.gridSize); 83 var gx = ((cubeSize * (position.x - uniforms.bbMin.x)) / cubeSize); 84 var gy = ((gx * (position.y - uniforms.bbMin.y)) / gridSize); 85 var gz = ((gridSize * (position.z - uniforms.bbMin.z)) / gridSize); 107 var g43 = uniforms.numTriangles; 118 if ((triangleIndex >= uniforms.numTriangles)) { 130 var lIndex = toIndex1D(uniforms.gridSize, p0);
|
D | 1273230.wgsl.expected.hlsl | 60 uint4 uniforms[3]; 69 float3 bbMin = float3(asfloat(uniforms[1].x), asfloat(uniforms[1].y), asfloat(uniforms[1].z)); 70 float3 bbMax = float3(asfloat(uniforms[2].x), asfloat(uniforms[2].y), asfloat(uniforms[2].z)); 73 float gridSize = float(uniforms[0].y); 74 float gx = ((cubeSize * (position.x - asfloat(uniforms[1].x))) / cubeSize); 75 float gy = ((gx * (position.y - asfloat(uniforms[1].y))) / gridSize); 76 float gz = ((gridSize * (position.z - asfloat(uniforms[1].z))) / gridSize); 98 uint g43 = uniforms[0].x; 112 if ((triangleIndex >= uniforms[0].x)) { 124 uint lIndex = toIndex1D(uniforms[0].y, p0);
|
D | 1273230.wgsl.expected.wgsl | 83 [[binding(0), group(0)]] var<uniform> uniforms : Uniforms; 96 var bbMin = vec3<f32>(uniforms.bbMin.x, uniforms.bbMin.y, uniforms.bbMin.z); 97 var bbMax = vec3<f32>(uniforms.bbMax.x, uniforms.bbMax.y, uniforms.bbMax.z); 100 var gridSize = f32(uniforms.gridSize); 101 var gx = ((cubeSize * (position.x - uniforms.bbMin.x)) / cubeSize); 102 var gy = ((gx * (position.y - uniforms.bbMin.y)) / gridSize); 103 var gz = ((gridSize * (position.z - uniforms.bbMin.z)) / gridSize); 125 var g43 = uniforms.numTriangles; 136 if ((triangleIndex >= uniforms.numTriangles)) { 148 var lIndex = toIndex1D(uniforms.gridSize, p0);
|
/third_party/skia/experimental/graphite/src/ |
D | ContextUtils.cpp | 172 const Uniform* uniforms, in Make() argument 178 return sk_sp<UniformData>(new UniformData(count, uniforms, offsets, data, dataSize)); in Make() 183 sk_sp<UniformData> uniforms; in ExtractCombo() local 208 uniforms = make_linear_gradient_uniform_data(gradInfo.fPoint[0], in ExtractCombo() 220 uniforms = make_radial_gradient_uniform_data(gradInfo.fPoint[0], in ExtractCombo() 232 uniforms = make_sweep_gradient_uniform_data(gradInfo.fPoint[0], in ExtractCombo() 243 uniforms = make_conical_gradient_uniform_data(gradInfo.fPoint[0], in ExtractCombo() 256 uniforms = make_solid_uniform_data(p.getColor4f()); in ExtractCombo() 264 uniforms = make_solid_uniform_data(p.getColor4f()); in ExtractCombo() 269 sk_sp<UniformData> trueUD = cache->findOrCreate(std::move(uniforms)); in ExtractCombo() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | FlagSamplersWithTexelFetch.cpp | 29 std::vector<ShaderVariable> *uniforms) in FlagSamplersWithTexelFetchTraverser() argument 30 : TIntermTraverser(true, true, true, symbolTable), mUniforms(uniforms) in FlagSamplersWithTexelFetchTraverser() 79 std::vector<ShaderVariable> *uniforms) in FlagSamplersForTexelFetch() argument 81 ASSERT(uniforms != nullptr); in FlagSamplersForTexelFetch() 82 if (uniforms->size() > 0) in FlagSamplersForTexelFetch() 84 FlagSamplersWithTexelFetchTraverser traverser(symbolTable, uniforms); in FlagSamplersForTexelFetch()
|