1bf215546Sopenharmony_ci<?xml version="1.0" ?> 2bf215546Sopenharmony_ci 3bf215546Sopenharmony_ci<!-- 4bf215546Sopenharmony_ciCopyright © 2022 Imagination Technologies Ltd. 5bf215546Sopenharmony_ci 6bf215546Sopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining a copy 7bf215546Sopenharmony_ciof this software and associated documentation files (the "Software"), to deal 8bf215546Sopenharmony_ciin the Software without restriction, including without limitation the rights 9bf215546Sopenharmony_cito use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10bf215546Sopenharmony_cicopies of the Software, and to permit persons to whom the Software is 11bf215546Sopenharmony_cifurnished to do so, subject to the following conditions: 12bf215546Sopenharmony_ci 13bf215546Sopenharmony_ciThe above copyright notice and this permission notice (including the next 14bf215546Sopenharmony_ciparagraph) shall be included in all copies or substantial portions of the 15bf215546Sopenharmony_ciSoftware. 16bf215546Sopenharmony_ci 17bf215546Sopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18bf215546Sopenharmony_ciIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19bf215546Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20bf215546Sopenharmony_ciAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21bf215546Sopenharmony_ciLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22bf215546Sopenharmony_ciOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23bf215546Sopenharmony_ciSOFTWARE. 24bf215546Sopenharmony_ci--> 25bf215546Sopenharmony_ci 26bf215546Sopenharmony_ci<csbgen name="ROGUE" prefix="PDSINST"> 27bf215546Sopenharmony_ci 28bf215546Sopenharmony_ci <enum name="CMODE_LD"> 29bf215546Sopenharmony_ci <value name="CACHED" value="0"/> 30bf215546Sopenharmony_ci <value name="BYPASS" value="1"/> 31bf215546Sopenharmony_ci <value name="FORCE_LINE_FILL" value="2"/> 32bf215546Sopenharmony_ci </enum> 33bf215546Sopenharmony_ci 34bf215546Sopenharmony_ci <enum name="DOUTD_DEST"> 35bf215546Sopenharmony_ci <value name="UNIFIED_STORE" value="0"/> 36bf215546Sopenharmony_ci <value name="COMMON_STORE" value="1"/> 37bf215546Sopenharmony_ci </enum> 38bf215546Sopenharmony_ci 39bf215546Sopenharmony_ci <enum name="DOUTI_SHADEMODEL"> 40bf215546Sopenharmony_ci <value name="FLAT_VERTEX0" value="0"/> 41bf215546Sopenharmony_ci <value name="FLAT_VERTEX1" value="1"/> 42bf215546Sopenharmony_ci <value name="FLAT_VERTEX2" value="2"/> 43bf215546Sopenharmony_ci <value name="GOURUAD" value="3"/> 44bf215546Sopenharmony_ci </enum> 45bf215546Sopenharmony_ci 46bf215546Sopenharmony_ci <enum name="DOUTI_SIZE"> 47bf215546Sopenharmony_ci <value name="1D" value="0"/> 48bf215546Sopenharmony_ci <value name="2D" value="1"/> 49bf215546Sopenharmony_ci <value name="3D" value="2"/> 50bf215546Sopenharmony_ci <value name="4D" value="3"/> 51bf215546Sopenharmony_ci </enum> 52bf215546Sopenharmony_ci 53bf215546Sopenharmony_ci <enum name="DOUTU_SAMPLE_RATE"> 54bf215546Sopenharmony_ci <value name="INSTANCE" value="0"/> 55bf215546Sopenharmony_ci <value name="SELECTIVE" value="1"/> 56bf215546Sopenharmony_ci <value name="FULL" value="2"/> 57bf215546Sopenharmony_ci </enum> 58bf215546Sopenharmony_ci 59bf215546Sopenharmony_ci <enum name="SLC_MODE_LD"> 60bf215546Sopenharmony_ci <value name="BYPASS" value="0"/> 61bf215546Sopenharmony_ci <value name="CACHED" value="1"/> 62bf215546Sopenharmony_ci <value name="CACHED_RD_NA" value="3"/> 63bf215546Sopenharmony_ci </enum> 64bf215546Sopenharmony_ci 65bf215546Sopenharmony_ci <enum name="WORDSIZE"> 66bf215546Sopenharmony_ci <value name="ONE" value="0"/> 67bf215546Sopenharmony_ci <value name="TWO" value="1"/> 68bf215546Sopenharmony_ci <value name="THREE" value="2"/> 69bf215546Sopenharmony_ci <value name="FOUR" value="3"/> 70bf215546Sopenharmony_ci </enum> 71bf215546Sopenharmony_ci 72bf215546Sopenharmony_ci <struct name="DOUTU_SRC0" length="2"> 73bf215546Sopenharmony_ci <field name="dual_phase" start="41" end ="41" type="bool"/> 74bf215546Sopenharmony_ci <field name="temps" start="35" end="40" type="uint"> 75bf215546Sopenharmony_ci <define name="UNIT_SIZE" value="2"/> 76bf215546Sopenharmony_ci </field> 77bf215546Sopenharmony_ci <field name="sample_rate" start="33" end="34" type="DOUTU_SAMPLE_RATE"/> 78bf215546Sopenharmony_ci <field name="exe_off" start="2" end="31" shift="2" type="address"/> 79bf215546Sopenharmony_ci </struct> 80bf215546Sopenharmony_ci 81bf215546Sopenharmony_ci <struct name="DOUT_FIELDS_DOUTD_SRC0" length="2"> 82bf215546Sopenharmony_ci <condition type="if" check="SLC_MCU_CACHE_CONTROLS"/> 83bf215546Sopenharmony_ci <field name="slcmode" start="60" end="61" type="SLC_MODE_LD"/> 84bf215546Sopenharmony_ci <condition type="endif" check="SLC_MCU_CACHE_CONTROLS"/> 85bf215546Sopenharmony_ci <field name="doffset" start="40" end="52" type="uint"/> 86bf215546Sopenharmony_ci <field name="sbase" start="0" end="39" shift="0" type="address"/> 87bf215546Sopenharmony_ci </struct> 88bf215546Sopenharmony_ci 89bf215546Sopenharmony_ci <struct name="DOUT_FIELDS_DOUTD_SRC1" length="1"> 90bf215546Sopenharmony_ci <field name="last" start="31" end="31" type="bool"/> 91bf215546Sopenharmony_ci <field name="wordsize" start="29" end="30" type="WORDSIZE"/> 92bf215546Sopenharmony_ci <field name="dest" start="28" end="28" type="DOUTD_DEST"/> 93bf215546Sopenharmony_ci <field name="cmode" start="26" end="27" type="CMODE_LD"/> 94bf215546Sopenharmony_ci <field name="a0" start="13" end="25" type="uint"> 95bf215546Sopenharmony_ci <define name="UNIT_SIZE" value="4"/> 96bf215546Sopenharmony_ci </field> 97bf215546Sopenharmony_ci <field name="repeat" start="12" end="12" type="bool"/> 98bf215546Sopenharmony_ci <field name="bsize" start="0" end="11" type="uint"/> 99bf215546Sopenharmony_ci </struct> 100bf215546Sopenharmony_ci 101bf215546Sopenharmony_ci <struct name="DOUT_FIELDS_DOUTI_SRC" length="1"> 102bf215546Sopenharmony_ci <field name="depthbias" start="27" end="27" type="bool"/> 103bf215546Sopenharmony_ci <field name="primitiveid" start="26" end="26" type="bool"/> 104bf215546Sopenharmony_ci <field name="shademodel" start="24" end="25" type="DOUTI_SHADEMODEL"/> 105bf215546Sopenharmony_ci <field name="pointsprite" start="23" end="23" type="bool"/> 106bf215546Sopenharmony_ci <field name="wraps" start="22" end="22" type="bool"/> 107bf215546Sopenharmony_ci <field name="wrapv" start="21" end="21" type="bool"/> 108bf215546Sopenharmony_ci <field name="wrapu" start="20" end="20" type="bool"/> 109bf215546Sopenharmony_ci <field name="size" start="18" end="19" type="DOUTI_SIZE"/> 110bf215546Sopenharmony_ci <field name="f16" start="17" end="17" type="bool"/> 111bf215546Sopenharmony_ci <field name="perspective" start="16" end="16" type="bool"/> 112bf215546Sopenharmony_ci <field name="f32_offset" start="8" end="15" type="uint"/> 113bf215546Sopenharmony_ci <field name="f16_offset" start="0" end="7" type="uint"/> 114bf215546Sopenharmony_ci </struct> 115bf215546Sopenharmony_ci 116bf215546Sopenharmony_ci</csbgen> 117