<div dir="ltr"><div>Hi,</div><div><br></div><div>This is the status of mediump support in Mesa. What I listed is what AMD GPUs can do. "Yes" means what Mesa supports.</div><div><br></div><div>



        
        
        <span></span>
        
        
        



<table style="font-family:"Liberation Sans";font-size:x-small" cellspacing="0" border="0">
        <colgroup width="590"></colgroup>
        <colgroup width="184"></colgroup>
        <colgroup width="86"></colgroup>
        <tbody style="font-family:"Liberation Sans";font-size:x-small"><tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><b><font color="#000000">Feature</font></b></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><b><font color="#000000">FP16 support</font></b></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><b><font color="#000000">Int16 support</font></b></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">ALU</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">Yes</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">Uniforms</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">VS in</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">VS out / FS in</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="18" align="left"><font color="#000000">FS out</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">TCS, TES, GS out / in</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">Sampler coordinates (only coord, derivs, lod, bias; not offset and compare)</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">---</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">Image coordinates</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">---</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">Return value from samplers (incl. sampler buffers)</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">Yes</font><br></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">Return value from image loads (incl. image buffers)</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">Data source for image stores (incl. image buffers)</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
        <tr style="font-family:"Liberation Sans";font-size:x-small">
                <td style="font-family:"Liberation Sans";font-size:x-small" height="19" align="left"><font color="#000000">If 16-bit sampler/image instructions are surrounded by conversions, promote them to 32 bits</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
                <td style="font-family:"Liberation Sans";font-size:x-small" align="left"><font color="#000000">No</font></td>
        </tr>
</tbody></table>



</div><div><br></div><div></div><div>Please let me know if you don't see the table correctly.</div><div></div><div></div><div><br></div><div> I'd like to know if I can enable some of them using the existing FP16 CAP. The only drivers supporting FP16 are currently Freedreno and Panfrost.</div><div><br></div><div>Thanks,</div><div>Marek<br></div></div>