// Copyright Contributors to the Open Shading Language project.
// SPDX-License-Identifier: BSD-3-Clause
// https://github.com/AcademySoftwareFoundation/OpenShadingLanguage

shader
test_u_float_div_v_matrix (output color Cout = 0)
{
    matrix m1 = matrix(u,0,0,0,
              0,v,0,0,
              0,0,1,0,
              0,0,0,1);
              
    float numerator = 1.0/3.0;
    matrix rm = numerator/m1;
    Cout = color(rm[0][0],rm[1][1],rm[2][2]);
}
