This file is indexed.

/usr/share/libwildmagic/Data/CgShaders/Material.fx is in libwildmagic-common 5.13-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
void v_Material
(
    in float3 modelPosition : POSITION,
    out float4 clipPosition : POSITION,
    out float4 vertexColor : COLOR,
    uniform float4x4 PVWMatrix,
    uniform float4 MaterialDiffuse)
{
    // Transform the position from model space to clip space.
    clipPosition = mul(PVWMatrix, float4(modelPosition,1.0f));

    // Use the material diffuse color as the vertex color.
    vertexColor = MaterialDiffuse;
}

void p_Material
(
    in float4 vertexColor : COLOR,
    out float4 pixelColor : COLOR)
{
    pixelColor = vertexColor;
}