1 1.2 riastrad /* $NetBSD: clearstate_evergreen.h,v 1.3 2021/12/18 23:45:42 riastradh Exp $ */ 2 1.2 riastrad 3 1.1 riastrad /* 4 1.1 riastrad * Copyright 2012 Advanced Micro Devices, Inc. 5 1.1 riastrad * 6 1.1 riastrad * Permission is hereby granted, free of charge, to any person obtaining a 7 1.1 riastrad * copy of this software and associated documentation files (the "Software"), 8 1.1 riastrad * to deal in the Software without restriction, including without limitation 9 1.1 riastrad * the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 1.1 riastrad * and/or sell copies of the Software, and to permit persons to whom the 11 1.1 riastrad * Software is furnished to do so, subject to the following conditions: 12 1.1 riastrad * 13 1.1 riastrad * The above copyright notice and this permission notice shall be included in 14 1.1 riastrad * all copies or substantial portions of the Software. 15 1.1 riastrad * 16 1.1 riastrad * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 1.1 riastrad * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 1.1 riastrad * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 1.1 riastrad * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 1.1 riastrad * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 1.1 riastrad * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 1.1 riastrad * OTHER DEALINGS IN THE SOFTWARE. 23 1.1 riastrad * 24 1.1 riastrad */ 25 1.1 riastrad 26 1.1 riastrad static const u32 SECT_CONTEXT_def_1[] = 27 1.1 riastrad { 28 1.1 riastrad 0x00000000, // DB_RENDER_CONTROL 29 1.1 riastrad 0x00000000, // DB_COUNT_CONTROL 30 1.1 riastrad 0x00000000, // DB_DEPTH_VIEW 31 1.1 riastrad 0x00000000, // DB_RENDER_OVERRIDE 32 1.1 riastrad 0x00000000, // DB_RENDER_OVERRIDE2 33 1.1 riastrad 0x00000000, // DB_HTILE_DATA_BASE 34 1.1 riastrad 0, // HOLE 35 1.1 riastrad 0, // HOLE 36 1.1 riastrad 0, // HOLE 37 1.1 riastrad 0, // HOLE 38 1.1 riastrad 0x00000000, // DB_STENCIL_CLEAR 39 1.1 riastrad 0x00000000, // DB_DEPTH_CLEAR 40 1.1 riastrad 0x00000000, // PA_SC_SCREEN_SCISSOR_TL 41 1.1 riastrad 0x40004000, // PA_SC_SCREEN_SCISSOR_BR 42 1.1 riastrad 0, // HOLE 43 1.1 riastrad 0, // HOLE 44 1.1 riastrad 0x00000000, // DB_Z_INFO 45 1.1 riastrad 0x00000000, // DB_STENCIL_INFO 46 1.1 riastrad 0x00000000, // DB_Z_READ_BASE 47 1.1 riastrad 0x00000000, // DB_STENCIL_READ_BASE 48 1.1 riastrad 0x00000000, // DB_Z_WRITE_BASE 49 1.1 riastrad 0x00000000, // DB_STENCIL_WRITE_BASE 50 1.1 riastrad 0x00000000, // DB_DEPTH_SIZE 51 1.1 riastrad 0x00000000, // DB_DEPTH_SLICE 52 1.1 riastrad 0, // HOLE 53 1.1 riastrad 0, // HOLE 54 1.1 riastrad 0, // HOLE 55 1.1 riastrad 0, // HOLE 56 1.1 riastrad 0, // HOLE 57 1.1 riastrad 0, // HOLE 58 1.1 riastrad 0, // HOLE 59 1.1 riastrad 0, // HOLE 60 1.1 riastrad 0, // HOLE 61 1.1 riastrad 0, // HOLE 62 1.1 riastrad 0, // HOLE 63 1.1 riastrad 0, // HOLE 64 1.1 riastrad 0, // HOLE 65 1.1 riastrad 0, // HOLE 66 1.1 riastrad 0, // HOLE 67 1.1 riastrad 0, // HOLE 68 1.1 riastrad 0, // HOLE 69 1.1 riastrad 0, // HOLE 70 1.1 riastrad 0, // HOLE 71 1.1 riastrad 0, // HOLE 72 1.1 riastrad 0, // HOLE 73 1.1 riastrad 0, // HOLE 74 1.1 riastrad 0, // HOLE 75 1.1 riastrad 0, // HOLE 76 1.1 riastrad 0, // HOLE 77 1.1 riastrad 0, // HOLE 78 1.1 riastrad 0, // HOLE 79 1.1 riastrad 0, // HOLE 80 1.1 riastrad 0, // HOLE 81 1.1 riastrad 0, // HOLE 82 1.1 riastrad 0, // HOLE 83 1.1 riastrad 0, // HOLE 84 1.1 riastrad 0, // HOLE 85 1.1 riastrad 0, // HOLE 86 1.1 riastrad 0, // HOLE 87 1.1 riastrad 0, // HOLE 88 1.1 riastrad 0, // HOLE 89 1.1 riastrad 0, // HOLE 90 1.1 riastrad 0, // HOLE 91 1.1 riastrad 0, // HOLE 92 1.1 riastrad 0, // HOLE 93 1.1 riastrad 0, // HOLE 94 1.1 riastrad 0, // HOLE 95 1.1 riastrad 0, // HOLE 96 1.1 riastrad 0, // HOLE 97 1.1 riastrad 0, // HOLE 98 1.1 riastrad 0, // HOLE 99 1.1 riastrad 0, // HOLE 100 1.1 riastrad 0, // HOLE 101 1.1 riastrad 0, // HOLE 102 1.1 riastrad 0, // HOLE 103 1.1 riastrad 0, // HOLE 104 1.1 riastrad 0, // HOLE 105 1.1 riastrad 0, // HOLE 106 1.1 riastrad 0, // HOLE 107 1.1 riastrad 0, // HOLE 108 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_0 109 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_1 110 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_2 111 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_3 112 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_4 113 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_5 114 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_6 115 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_7 116 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_8 117 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_9 118 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_10 119 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_11 120 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_12 121 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_13 122 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_14 123 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_15 124 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_0 125 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_1 126 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_2 127 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_3 128 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_4 129 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_5 130 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_6 131 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_7 132 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_8 133 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_9 134 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_10 135 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_11 136 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_12 137 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_13 138 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_14 139 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_15 140 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_0 141 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_1 142 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_2 143 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_3 144 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_4 145 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_5 146 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_6 147 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_7 148 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_8 149 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_9 150 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_10 151 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_11 152 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_12 153 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_13 154 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_14 155 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_15 156 1.1 riastrad 0x00000000, // PA_SC_WINDOW_OFFSET 157 1.1 riastrad 0x80000000, // PA_SC_WINDOW_SCISSOR_TL 158 1.1 riastrad 0x40004000, // PA_SC_WINDOW_SCISSOR_BR 159 1.1 riastrad 0x0000ffff, // PA_SC_CLIPRECT_RULE 160 1.1 riastrad 0x00000000, // PA_SC_CLIPRECT_0_TL 161 1.1 riastrad 0x40004000, // PA_SC_CLIPRECT_0_BR 162 1.1 riastrad 0x00000000, // PA_SC_CLIPRECT_1_TL 163 1.1 riastrad 0x40004000, // PA_SC_CLIPRECT_1_BR 164 1.1 riastrad 0x00000000, // PA_SC_CLIPRECT_2_TL 165 1.1 riastrad 0x40004000, // PA_SC_CLIPRECT_2_BR 166 1.1 riastrad 0x00000000, // PA_SC_CLIPRECT_3_TL 167 1.1 riastrad 0x40004000, // PA_SC_CLIPRECT_3_BR 168 1.1 riastrad 0xaa99aaaa, // PA_SC_EDGERULE 169 1.1 riastrad 0x00000000, // PA_SU_HARDWARE_SCREEN_OFFSET 170 1.1 riastrad 0xffffffff, // CB_TARGET_MASK 171 1.1 riastrad 0xffffffff, // CB_SHADER_MASK 172 1.1 riastrad 0x80000000, // PA_SC_GENERIC_SCISSOR_TL 173 1.1 riastrad 0x40004000, // PA_SC_GENERIC_SCISSOR_BR 174 1.1 riastrad 0x00000000, // COHER_DEST_BASE_0 175 1.1 riastrad 0x00000000, // COHER_DEST_BASE_1 176 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_0_TL 177 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_0_BR 178 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_1_TL 179 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_1_BR 180 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_2_TL 181 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_2_BR 182 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_3_TL 183 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_3_BR 184 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_4_TL 185 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_4_BR 186 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_5_TL 187 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_5_BR 188 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_6_TL 189 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_6_BR 190 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_7_TL 191 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_7_BR 192 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_8_TL 193 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_8_BR 194 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_9_TL 195 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_9_BR 196 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_10_TL 197 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_10_BR 198 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_11_TL 199 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_11_BR 200 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_12_TL 201 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_12_BR 202 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_13_TL 203 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_13_BR 204 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_14_TL 205 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_14_BR 206 1.1 riastrad 0x80000000, // PA_SC_VPORT_SCISSOR_15_TL 207 1.1 riastrad 0x40004000, // PA_SC_VPORT_SCISSOR_15_BR 208 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_0 209 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_0 210 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_1 211 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_1 212 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_2 213 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_2 214 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_3 215 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_3 216 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_4 217 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_4 218 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_5 219 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_5 220 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_6 221 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_6 222 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_7 223 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_7 224 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_8 225 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_8 226 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_9 227 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_9 228 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_10 229 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_10 230 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_11 231 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_11 232 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_12 233 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_12 234 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_13 235 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_13 236 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_14 237 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_14 238 1.1 riastrad 0x00000000, // PA_SC_VPORT_ZMIN_15 239 1.1 riastrad 0x3f800000, // PA_SC_VPORT_ZMAX_15 240 1.1 riastrad 0x00000000, // SX_MISC 241 1.1 riastrad 0x00000000, // SX_SURFACE_SYNC 242 1.1 riastrad 0x00000000, // CP_PERFMON_CNTX_CNTL 243 1.1 riastrad 0, // HOLE 244 1.1 riastrad 0, // HOLE 245 1.1 riastrad 0, // HOLE 246 1.1 riastrad 0, // HOLE 247 1.1 riastrad 0, // HOLE 248 1.1 riastrad 0, // HOLE 249 1.1 riastrad 0, // HOLE 250 1.1 riastrad 0, // HOLE 251 1.1 riastrad 0, // HOLE 252 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_0 253 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_1 254 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_2 255 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_3 256 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_4 257 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_5 258 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_6 259 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_7 260 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_8 261 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_9 262 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_10 263 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_11 264 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_12 265 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_13 266 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_14 267 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_15 268 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_16 269 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_17 270 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_18 271 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_19 272 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_20 273 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_21 274 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_22 275 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_23 276 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_24 277 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_25 278 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_26 279 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_27 280 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_28 281 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_29 282 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_30 283 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_31 284 1.1 riastrad 0xffffffff, // VGT_MAX_VTX_INDX 285 1.1 riastrad 0x00000000, // VGT_MIN_VTX_INDX 286 1.1 riastrad 0x00000000, // VGT_INDX_OFFSET 287 1.1 riastrad 0x00000000, // VGT_MULTI_PRIM_IB_RESET_INDX 288 1.1 riastrad 0x00000000, // SX_ALPHA_TEST_CONTROL 289 1.1 riastrad 0x00000000, // CB_BLEND_RED 290 1.1 riastrad 0x00000000, // CB_BLEND_GREEN 291 1.1 riastrad 0x00000000, // CB_BLEND_BLUE 292 1.1 riastrad 0x00000000, // CB_BLEND_ALPHA 293 1.1 riastrad 0, // HOLE 294 1.1 riastrad 0, // HOLE 295 1.1 riastrad 0, // HOLE 296 1.1 riastrad 0x00000000, // DB_STENCILREFMASK 297 1.1 riastrad 0x00000000, // DB_STENCILREFMASK_BF 298 1.1 riastrad 0x00000000, // SX_ALPHA_REF 299 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE 300 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET 301 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE 302 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET 303 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE 304 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET 305 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_1 306 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_1 307 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_1 308 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_1 309 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_1 310 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_1 311 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_2 312 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_2 313 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_2 314 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_2 315 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_2 316 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_2 317 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_3 318 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_3 319 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_3 320 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_3 321 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_3 322 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_3 323 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_4 324 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_4 325 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_4 326 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_4 327 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_4 328 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_4 329 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_5 330 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_5 331 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_5 332 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_5 333 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_5 334 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_5 335 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_6 336 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_6 337 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_6 338 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_6 339 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_6 340 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_6 341 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_7 342 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_7 343 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_7 344 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_7 345 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_7 346 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_7 347 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_8 348 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_8 349 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_8 350 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_8 351 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_8 352 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_8 353 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_9 354 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_9 355 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_9 356 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_9 357 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_9 358 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_9 359 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_10 360 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_10 361 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_10 362 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_10 363 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_10 364 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_10 365 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_11 366 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_11 367 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_11 368 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_11 369 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_11 370 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_11 371 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_12 372 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_12 373 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_12 374 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_12 375 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_12 376 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_12 377 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_13 378 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_13 379 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_13 380 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_13 381 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_13 382 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_13 383 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_14 384 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_14 385 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_14 386 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_14 387 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_14 388 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_14 389 1.1 riastrad 0x00000000, // PA_CL_VPORT_XSCALE_15 390 1.1 riastrad 0x00000000, // PA_CL_VPORT_XOFFSET_15 391 1.1 riastrad 0x00000000, // PA_CL_VPORT_YSCALE_15 392 1.1 riastrad 0x00000000, // PA_CL_VPORT_YOFFSET_15 393 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZSCALE_15 394 1.1 riastrad 0x00000000, // PA_CL_VPORT_ZOFFSET_15 395 1.1 riastrad 0x00000000, // PA_CL_UCP_0_X 396 1.1 riastrad 0x00000000, // PA_CL_UCP_0_Y 397 1.1 riastrad 0x00000000, // PA_CL_UCP_0_Z 398 1.1 riastrad 0x00000000, // PA_CL_UCP_0_W 399 1.1 riastrad 0x00000000, // PA_CL_UCP_1_X 400 1.1 riastrad 0x00000000, // PA_CL_UCP_1_Y 401 1.1 riastrad 0x00000000, // PA_CL_UCP_1_Z 402 1.1 riastrad 0x00000000, // PA_CL_UCP_1_W 403 1.1 riastrad 0x00000000, // PA_CL_UCP_2_X 404 1.1 riastrad 0x00000000, // PA_CL_UCP_2_Y 405 1.1 riastrad 0x00000000, // PA_CL_UCP_2_Z 406 1.1 riastrad 0x00000000, // PA_CL_UCP_2_W 407 1.1 riastrad 0x00000000, // PA_CL_UCP_3_X 408 1.1 riastrad 0x00000000, // PA_CL_UCP_3_Y 409 1.1 riastrad 0x00000000, // PA_CL_UCP_3_Z 410 1.1 riastrad 0x00000000, // PA_CL_UCP_3_W 411 1.1 riastrad 0x00000000, // PA_CL_UCP_4_X 412 1.1 riastrad 0x00000000, // PA_CL_UCP_4_Y 413 1.1 riastrad 0x00000000, // PA_CL_UCP_4_Z 414 1.1 riastrad 0x00000000, // PA_CL_UCP_4_W 415 1.1 riastrad 0x00000000, // PA_CL_UCP_5_X 416 1.1 riastrad 0x00000000, // PA_CL_UCP_5_Y 417 1.1 riastrad 0x00000000, // PA_CL_UCP_5_Z 418 1.1 riastrad 0x00000000, // PA_CL_UCP_5_W 419 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_0 420 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_1 421 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_2 422 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_3 423 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_4 424 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_5 425 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_6 426 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_7 427 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_8 428 1.1 riastrad 0x00000000, // SPI_VS_OUT_ID_9 429 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_0 430 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_1 431 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_2 432 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_3 433 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_4 434 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_5 435 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_6 436 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_7 437 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_8 438 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_9 439 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_10 440 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_11 441 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_12 442 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_13 443 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_14 444 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_15 445 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_16 446 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_17 447 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_18 448 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_19 449 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_20 450 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_21 451 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_22 452 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_23 453 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_24 454 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_25 455 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_26 456 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_27 457 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_28 458 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_29 459 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_30 460 1.1 riastrad 0x00000000, // SPI_PS_INPUT_CNTL_31 461 1.1 riastrad 0x00000000, // SPI_VS_OUT_CONFIG 462 1.1 riastrad 0x00000001, // SPI_THREAD_GROUPING 463 1.1 riastrad 0x00000000, // SPI_PS_IN_CONTROL_0 464 1.1 riastrad 0x00000000, // SPI_PS_IN_CONTROL_1 465 1.1 riastrad 0x00000000, // SPI_INTERP_CONTROL_0 466 1.1 riastrad 0x00000000, // SPI_INPUT_Z 467 1.1 riastrad 0x00000000, // SPI_FOG_CNTL 468 1.1 riastrad 0x00000000, // SPI_BARYC_CNTL 469 1.1 riastrad 0x00000000, // SPI_PS_IN_CONTROL_2 470 1.1 riastrad 0x00000000, // SPI_COMPUTE_INPUT_CNTL 471 1.1 riastrad 0x00000000, // SPI_COMPUTE_NUM_THREAD_X 472 1.1 riastrad 0x00000000, // SPI_COMPUTE_NUM_THREAD_Y 473 1.1 riastrad 0x00000000, // SPI_COMPUTE_NUM_THREAD_Z 474 1.1 riastrad 0, // HOLE 475 1.1 riastrad 0, // HOLE 476 1.1 riastrad 0, // HOLE 477 1.1 riastrad 0, // HOLE 478 1.1 riastrad 0, // HOLE 479 1.1 riastrad 0, // HOLE 480 1.1 riastrad 0, // HOLE 481 1.1 riastrad 0, // HOLE 482 1.1 riastrad 0, // HOLE 483 1.1 riastrad 0, // HOLE 484 1.1 riastrad 0x00000000, // GDS_ADDR_BASE 485 1.1 riastrad 0x00003fff, // GDS_ADDR_SIZE 486 1.1 riastrad 0x00000001, // GDS_ORDERED_WAVE_PER_SE 487 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV0 488 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV1 489 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV2 490 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV3 491 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV4 492 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV5 493 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV6 494 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV7 495 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV8 496 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV9 497 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV10 498 1.1 riastrad 0x00000000, // GDS_APPEND_CONSUME_UAV11 499 1.1 riastrad 0, // HOLE 500 1.1 riastrad 0, // HOLE 501 1.1 riastrad 0, // HOLE 502 1.1 riastrad 0, // HOLE 503 1.1 riastrad 0, // HOLE 504 1.1 riastrad 0, // HOLE 505 1.1 riastrad 0, // HOLE 506 1.1 riastrad 0, // HOLE 507 1.1 riastrad 0, // HOLE 508 1.1 riastrad 0x00000000, // CB_BLEND0_CONTROL 509 1.1 riastrad 0x00000000, // CB_BLEND1_CONTROL 510 1.1 riastrad 0x00000000, // CB_BLEND2_CONTROL 511 1.1 riastrad 0x00000000, // CB_BLEND3_CONTROL 512 1.1 riastrad 0x00000000, // CB_BLEND4_CONTROL 513 1.1 riastrad 0x00000000, // CB_BLEND5_CONTROL 514 1.1 riastrad 0x00000000, // CB_BLEND6_CONTROL 515 1.1 riastrad 0x00000000, // CB_BLEND7_CONTROL 516 1.1 riastrad }; 517 1.1 riastrad static const u32 SECT_CONTEXT_def_2[] = 518 1.1 riastrad { 519 1.1 riastrad 0x00000000, // PA_CL_POINT_X_RAD 520 1.1 riastrad 0x00000000, // PA_CL_POINT_Y_RAD 521 1.1 riastrad 0x00000000, // PA_CL_POINT_SIZE 522 1.1 riastrad 0x00000000, // PA_CL_POINT_CULL_RAD 523 1.1 riastrad 0x00000000, // VGT_DMA_BASE_HI 524 1.1 riastrad 0x00000000, // VGT_DMA_BASE 525 1.1 riastrad }; 526 1.1 riastrad static const u32 SECT_CONTEXT_def_3[] = 527 1.1 riastrad { 528 1.1 riastrad 0x00000000, // DB_DEPTH_CONTROL 529 1.1 riastrad 0, // HOLE 530 1.1 riastrad 0x00000000, // CB_COLOR_CONTROL 531 1.1 riastrad 0x00000200, // DB_SHADER_CONTROL 532 1.1 riastrad 0x00000000, // PA_CL_CLIP_CNTL 533 1.1 riastrad 0x00000000, // PA_SU_SC_MODE_CNTL 534 1.1 riastrad 0x00000000, // PA_CL_VTE_CNTL 535 1.1 riastrad 0x00000000, // PA_CL_VS_OUT_CNTL 536 1.1 riastrad 0x00000000, // PA_CL_NANINF_CNTL 537 1.1 riastrad 0x00000000, // PA_SU_LINE_STIPPLE_CNTL 538 1.1 riastrad 0x00000000, // PA_SU_LINE_STIPPLE_SCALE 539 1.1 riastrad 0x00000000, // PA_SU_PRIM_FILTER_CNTL 540 1.1 riastrad 0x00000000, // SQ_LSTMP_RING_ITEMSIZE 541 1.1 riastrad 0x00000000, // SQ_HSTMP_RING_ITEMSIZE 542 1.1 riastrad 0x00000000, // SQ_DYN_GPR_RESOURCE_LIMIT_1 543 1.1 riastrad 0, // HOLE 544 1.1 riastrad 0x00000000, // SQ_PGM_START_PS 545 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_PS 546 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_2_PS 547 1.1 riastrad 0x00000000, // SQ_PGM_EXPORTS_PS 548 1.1 riastrad 0, // HOLE 549 1.1 riastrad 0, // HOLE 550 1.1 riastrad 0, // HOLE 551 1.1 riastrad 0x00000000, // SQ_PGM_START_VS 552 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_VS 553 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_2_VS 554 1.1 riastrad 0, // HOLE 555 1.1 riastrad 0, // HOLE 556 1.1 riastrad 0, // HOLE 557 1.1 riastrad 0x00000000, // SQ_PGM_START_GS 558 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_GS 559 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_2_GS 560 1.1 riastrad 0, // HOLE 561 1.1 riastrad 0, // HOLE 562 1.1 riastrad 0, // HOLE 563 1.1 riastrad 0x00000000, // SQ_PGM_START_ES 564 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_ES 565 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_2_ES 566 1.1 riastrad 0, // HOLE 567 1.1 riastrad 0, // HOLE 568 1.1 riastrad 0, // HOLE 569 1.1 riastrad 0x00000000, // SQ_PGM_START_FS 570 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_FS 571 1.1 riastrad 0, // HOLE 572 1.1 riastrad 0, // HOLE 573 1.1 riastrad 0, // HOLE 574 1.1 riastrad 0x00000000, // SQ_PGM_START_HS 575 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_HS 576 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_2_HS 577 1.1 riastrad 0, // HOLE 578 1.1 riastrad 0, // HOLE 579 1.1 riastrad 0, // HOLE 580 1.1 riastrad 0x00000000, // SQ_PGM_START_LS 581 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_LS 582 1.1 riastrad 0x00000000, // SQ_PGM_RESOURCES_2_LS 583 1.1 riastrad }; 584 1.1 riastrad static const u32 SECT_CONTEXT_def_4[] = 585 1.1 riastrad { 586 1.1 riastrad 0x00000000, // SQ_LDS_ALLOC 587 1.1 riastrad 0x00000000, // SQ_LDS_ALLOC_PS 588 1.1 riastrad 0x00000000, // SQ_VTX_SEMANTIC_CLEAR 589 1.1 riastrad 0, // HOLE 590 1.1 riastrad 0x00000000, // SQ_THREAD_TRACE_CTRL 591 1.1 riastrad 0, // HOLE 592 1.1 riastrad 0x00000000, // SQ_ESGS_RING_ITEMSIZE 593 1.1 riastrad 0x00000000, // SQ_GSVS_RING_ITEMSIZE 594 1.1 riastrad 0x00000000, // SQ_ESTMP_RING_ITEMSIZE 595 1.1 riastrad 0x00000000, // SQ_GSTMP_RING_ITEMSIZE 596 1.1 riastrad 0x00000000, // SQ_VSTMP_RING_ITEMSIZE 597 1.1 riastrad 0x00000000, // SQ_PSTMP_RING_ITEMSIZE 598 1.1 riastrad 0, // HOLE 599 1.1 riastrad 0x00000000, // SQ_GS_VERT_ITEMSIZE 600 1.1 riastrad 0x00000000, // SQ_GS_VERT_ITEMSIZE_1 601 1.1 riastrad 0x00000000, // SQ_GS_VERT_ITEMSIZE_2 602 1.1 riastrad 0x00000000, // SQ_GS_VERT_ITEMSIZE_3 603 1.1 riastrad 0x00000000, // SQ_GSVS_RING_OFFSET_1 604 1.1 riastrad 0x00000000, // SQ_GSVS_RING_OFFSET_2 605 1.1 riastrad 0x00000000, // SQ_GSVS_RING_OFFSET_3 606 1.1 riastrad 0, // HOLE 607 1.1 riastrad 0, // HOLE 608 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_0 609 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_1 610 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_2 611 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_3 612 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_4 613 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_5 614 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_6 615 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_7 616 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_8 617 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_9 618 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_10 619 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_11 620 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_12 621 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_13 622 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_14 623 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_PS_15 624 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_0 625 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_1 626 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_2 627 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_3 628 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_4 629 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_5 630 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_6 631 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_7 632 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_8 633 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_9 634 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_10 635 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_11 636 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_12 637 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_13 638 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_14 639 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_VS_15 640 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_0 641 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_1 642 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_2 643 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_3 644 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_4 645 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_5 646 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_6 647 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_7 648 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_8 649 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_9 650 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_10 651 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_11 652 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_12 653 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_13 654 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_14 655 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_GS_15 656 1.1 riastrad 0x00000000, // PA_SU_POINT_SIZE 657 1.1 riastrad 0x00000000, // PA_SU_POINT_MINMAX 658 1.1 riastrad 0x00000000, // PA_SU_LINE_CNTL 659 1.1 riastrad 0x00000000, // PA_SC_LINE_STIPPLE 660 1.1 riastrad 0x00000000, // VGT_OUTPUT_PATH_CNTL 661 1.1 riastrad 0x00000000, // VGT_HOS_CNTL 662 1.1 riastrad 0x00000000, // VGT_HOS_MAX_TESS_LEVEL 663 1.1 riastrad 0x00000000, // VGT_HOS_MIN_TESS_LEVEL 664 1.1 riastrad 0x00000000, // VGT_HOS_REUSE_DEPTH 665 1.1 riastrad 0x00000000, // VGT_GROUP_PRIM_TYPE 666 1.1 riastrad 0x00000000, // VGT_GROUP_FIRST_DECR 667 1.1 riastrad 0x00000000, // VGT_GROUP_DECR 668 1.1 riastrad 0x00000000, // VGT_GROUP_VECT_0_CNTL 669 1.1 riastrad 0x00000000, // VGT_GROUP_VECT_1_CNTL 670 1.1 riastrad 0x00000000, // VGT_GROUP_VECT_0_FMT_CNTL 671 1.1 riastrad 0x00000000, // VGT_GROUP_VECT_1_FMT_CNTL 672 1.1 riastrad 0x00000000, // VGT_GS_MODE 673 1.1 riastrad 0, // HOLE 674 1.1 riastrad 0x00000000, // PA_SC_MODE_CNTL_0 675 1.1 riastrad 0x00000000, // PA_SC_MODE_CNTL_1 676 1.1 riastrad 0x00000000, // VGT_ENHANCE 677 1.1 riastrad 0x00000000, // VGT_GS_PER_ES 678 1.1 riastrad 0x00000000, // VGT_ES_PER_GS 679 1.1 riastrad 0x00000000, // VGT_GS_PER_VS 680 1.1 riastrad 0, // HOLE 681 1.1 riastrad 0, // HOLE 682 1.1 riastrad 0, // HOLE 683 1.1 riastrad 0x00000000, // VGT_GS_OUT_PRIM_TYPE 684 1.1 riastrad }; 685 1.1 riastrad static const u32 SECT_CONTEXT_def_5[] = 686 1.1 riastrad { 687 1.1 riastrad 0x00000000, // VGT_DMA_MAX_SIZE 688 1.1 riastrad 0x00000000, // VGT_DMA_INDEX_TYPE 689 1.1 riastrad 0, // HOLE 690 1.1 riastrad 0x00000000, // VGT_PRIMITIVEID_EN 691 1.1 riastrad 0x00000000, // VGT_DMA_NUM_INSTANCES 692 1.1 riastrad }; 693 1.1 riastrad static const u32 SECT_CONTEXT_def_6[] = 694 1.1 riastrad { 695 1.1 riastrad 0x00000000, // VGT_MULTI_PRIM_IB_RESET_EN 696 1.1 riastrad 0, // HOLE 697 1.1 riastrad 0, // HOLE 698 1.1 riastrad 0x00000000, // VGT_INSTANCE_STEP_RATE_0 699 1.1 riastrad 0x00000000, // VGT_INSTANCE_STEP_RATE_1 700 1.1 riastrad 0, // HOLE 701 1.1 riastrad 0, // HOLE 702 1.1 riastrad 0, // HOLE 703 1.1 riastrad 0x00000000, // VGT_REUSE_OFF 704 1.1 riastrad 0x00000000, // VGT_VTX_CNT_EN 705 1.1 riastrad 0x00000000, // DB_HTILE_SURFACE 706 1.1 riastrad 0x00000000, // DB_SRESULTS_COMPARE_STATE0 707 1.1 riastrad 0x00000000, // DB_SRESULTS_COMPARE_STATE1 708 1.1 riastrad 0x00000000, // DB_PRELOAD_CONTROL 709 1.1 riastrad 0, // HOLE 710 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_SIZE_0 711 1.1 riastrad 0x00000000, // VGT_STRMOUT_VTX_STRIDE_0 712 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_BASE_0 713 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_0 714 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_SIZE_1 715 1.1 riastrad 0x00000000, // VGT_STRMOUT_VTX_STRIDE_1 716 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_BASE_1 717 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_1 718 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_SIZE_2 719 1.1 riastrad 0x00000000, // VGT_STRMOUT_VTX_STRIDE_2 720 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_BASE_2 721 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_2 722 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_SIZE_3 723 1.1 riastrad 0x00000000, // VGT_STRMOUT_VTX_STRIDE_3 724 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_BASE_3 725 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_3 726 1.1 riastrad 0x00000000, // VGT_STRMOUT_BASE_OFFSET_0 727 1.1 riastrad 0x00000000, // VGT_STRMOUT_BASE_OFFSET_1 728 1.1 riastrad 0x00000000, // VGT_STRMOUT_BASE_OFFSET_2 729 1.1 riastrad 0x00000000, // VGT_STRMOUT_BASE_OFFSET_3 730 1.1 riastrad 0, // HOLE 731 1.1 riastrad 0, // HOLE 732 1.1 riastrad 0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_OFFSET 733 1.1 riastrad 0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_BUFFER_FILLED_SIZE 734 1.1 riastrad 0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_VERTEX_STRIDE 735 1.1 riastrad 0, // HOLE 736 1.1 riastrad 0x00000000, // VGT_GS_MAX_VERT_OUT 737 1.1 riastrad 0, // HOLE 738 1.1 riastrad 0, // HOLE 739 1.1 riastrad 0x00000000, // VGT_STRMOUT_BASE_OFFSET_HI_0 740 1.1 riastrad 0x00000000, // VGT_STRMOUT_BASE_OFFSET_HI_1 741 1.1 riastrad 0x00000000, // VGT_STRMOUT_BASE_OFFSET_HI_2 742 1.1 riastrad 0x00000000, // VGT_STRMOUT_BASE_OFFSET_HI_3 743 1.1 riastrad 0x00000000, // VGT_SHADER_STAGES_EN 744 1.1 riastrad 0x00000000, // VGT_LS_HS_CONFIG 745 1.1 riastrad 0x00000000, // VGT_LS_SIZE 746 1.1 riastrad 0x00000000, // VGT_HS_SIZE 747 1.1 riastrad 0x00000000, // VGT_LS_HS_ALLOC 748 1.1 riastrad 0x00000000, // VGT_HS_PATCH_CONST 749 1.1 riastrad 0x00000000, // VGT_TF_PARAM 750 1.1 riastrad 0x00000000, // DB_ALPHA_TO_MASK 751 1.1 riastrad }; 752 1.1 riastrad static const u32 SECT_CONTEXT_def_7[] = 753 1.1 riastrad { 754 1.1 riastrad 0x00000000, // PA_SU_POLY_OFFSET_DB_FMT_CNTL 755 1.1 riastrad 0x00000000, // PA_SU_POLY_OFFSET_CLAMP 756 1.1 riastrad 0x00000000, // PA_SU_POLY_OFFSET_FRONT_SCALE 757 1.1 riastrad 0x00000000, // PA_SU_POLY_OFFSET_FRONT_OFFSET 758 1.1 riastrad 0x00000000, // PA_SU_POLY_OFFSET_BACK_SCALE 759 1.1 riastrad 0x00000000, // PA_SU_POLY_OFFSET_BACK_OFFSET 760 1.1 riastrad 0x00000000, // VGT_GS_INSTANCE_CNT 761 1.1 riastrad 0x00000000, // VGT_STRMOUT_CONFIG 762 1.1 riastrad 0x00000000, // VGT_STRMOUT_BUFFER_CONFIG 763 1.1 riastrad 0x00000000, // CB_IMMED0_BASE 764 1.1 riastrad 0x00000000, // CB_IMMED1_BASE 765 1.1 riastrad 0x00000000, // CB_IMMED2_BASE 766 1.1 riastrad 0x00000000, // CB_IMMED3_BASE 767 1.1 riastrad 0x00000000, // CB_IMMED4_BASE 768 1.1 riastrad 0x00000000, // CB_IMMED5_BASE 769 1.1 riastrad 0x00000000, // CB_IMMED6_BASE 770 1.1 riastrad 0x00000000, // CB_IMMED7_BASE 771 1.1 riastrad 0x00000000, // CB_IMMED8_BASE 772 1.1 riastrad 0x00000000, // CB_IMMED9_BASE 773 1.1 riastrad 0x00000000, // CB_IMMED10_BASE 774 1.1 riastrad 0x00000000, // CB_IMMED11_BASE 775 1.1 riastrad 0, // HOLE 776 1.1 riastrad 0, // HOLE 777 1.1 riastrad 0, // HOLE 778 1.1 riastrad 0, // HOLE 779 1.1 riastrad 0, // HOLE 780 1.1 riastrad 0, // HOLE 781 1.1 riastrad 0, // HOLE 782 1.1 riastrad 0, // HOLE 783 1.1 riastrad 0, // HOLE 784 1.1 riastrad 0, // HOLE 785 1.1 riastrad 0, // HOLE 786 1.1 riastrad 0, // HOLE 787 1.1 riastrad 0, // HOLE 788 1.1 riastrad 0x00001000, // PA_SC_LINE_CNTL 789 1.1 riastrad 0x00000000, // PA_SC_AA_CONFIG 790 1.1 riastrad 0x00000005, // PA_SU_VTX_CNTL 791 1.1 riastrad 0x3f800000, // PA_CL_GB_VERT_CLIP_ADJ 792 1.1 riastrad 0x3f800000, // PA_CL_GB_VERT_DISC_ADJ 793 1.1 riastrad 0x3f800000, // PA_CL_GB_HORZ_CLIP_ADJ 794 1.1 riastrad 0x3f800000, // PA_CL_GB_HORZ_DISC_ADJ 795 1.1 riastrad 0x00000000, // PA_SC_AA_SAMPLE_LOCS_0 796 1.1 riastrad 0x00000000, // PA_SC_AA_SAMPLE_LOCS_1 797 1.1 riastrad 0x00000000, // PA_SC_AA_SAMPLE_LOCS_2 798 1.1 riastrad 0x00000000, // PA_SC_AA_SAMPLE_LOCS_3 799 1.1 riastrad 0x00000000, // PA_SC_AA_SAMPLE_LOCS_4 800 1.1 riastrad 0x00000000, // PA_SC_AA_SAMPLE_LOCS_5 801 1.1 riastrad 0x00000000, // PA_SC_AA_SAMPLE_LOCS_6 802 1.1 riastrad 0x00000000, // PA_SC_AA_SAMPLE_LOCS_7 803 1.1 riastrad 0xffffffff, // PA_SC_AA_MASK 804 1.1 riastrad 0x00000000, // CB_CLRCMP_CONTROL 805 1.1 riastrad 0x00000000, // CB_CLRCMP_SRC 806 1.1 riastrad 0x00000000, // CB_CLRCMP_DST 807 1.1 riastrad 0x00000000, // CB_CLRCMP_MSK 808 1.1 riastrad 0, // HOLE 809 1.1 riastrad 0, // HOLE 810 1.1 riastrad 0x0000000e, // VGT_VERTEX_REUSE_BLOCK_CNTL 811 1.1 riastrad 0x00000010, // VGT_OUT_DEALLOC_CNTL 812 1.1 riastrad 0x00000000, // CB_COLOR0_BASE 813 1.1 riastrad 0x00000000, // CB_COLOR0_PITCH 814 1.1 riastrad 0x00000000, // CB_COLOR0_SLICE 815 1.1 riastrad 0x00000000, // CB_COLOR0_VIEW 816 1.1 riastrad 0x00000000, // CB_COLOR0_INFO 817 1.1 riastrad 0x00000000, // CB_COLOR0_ATTRIB 818 1.1 riastrad 0x00000000, // CB_COLOR0_DIM 819 1.1 riastrad 0x00000000, // CB_COLOR0_CMASK 820 1.1 riastrad 0x00000000, // CB_COLOR0_CMASK_SLICE 821 1.1 riastrad 0x00000000, // CB_COLOR0_FMASK 822 1.1 riastrad 0x00000000, // CB_COLOR0_FMASK_SLICE 823 1.1 riastrad 0x00000000, // CB_COLOR0_CLEAR_WORD0 824 1.1 riastrad 0x00000000, // CB_COLOR0_CLEAR_WORD1 825 1.1 riastrad 0x00000000, // CB_COLOR0_CLEAR_WORD2 826 1.1 riastrad 0x00000000, // CB_COLOR0_CLEAR_WORD3 827 1.1 riastrad 0x00000000, // CB_COLOR1_BASE 828 1.1 riastrad 0x00000000, // CB_COLOR1_PITCH 829 1.1 riastrad 0x00000000, // CB_COLOR1_SLICE 830 1.1 riastrad 0x00000000, // CB_COLOR1_VIEW 831 1.1 riastrad 0x00000000, // CB_COLOR1_INFO 832 1.1 riastrad 0x00000000, // CB_COLOR1_ATTRIB 833 1.1 riastrad 0x00000000, // CB_COLOR1_DIM 834 1.1 riastrad 0x00000000, // CB_COLOR1_CMASK 835 1.1 riastrad 0x00000000, // CB_COLOR1_CMASK_SLICE 836 1.1 riastrad 0x00000000, // CB_COLOR1_FMASK 837 1.1 riastrad 0x00000000, // CB_COLOR1_FMASK_SLICE 838 1.1 riastrad 0x00000000, // CB_COLOR1_CLEAR_WORD0 839 1.1 riastrad 0x00000000, // CB_COLOR1_CLEAR_WORD1 840 1.1 riastrad 0x00000000, // CB_COLOR1_CLEAR_WORD2 841 1.1 riastrad 0x00000000, // CB_COLOR1_CLEAR_WORD3 842 1.1 riastrad 0x00000000, // CB_COLOR2_BASE 843 1.1 riastrad 0x00000000, // CB_COLOR2_PITCH 844 1.1 riastrad 0x00000000, // CB_COLOR2_SLICE 845 1.1 riastrad 0x00000000, // CB_COLOR2_VIEW 846 1.1 riastrad 0x00000000, // CB_COLOR2_INFO 847 1.1 riastrad 0x00000000, // CB_COLOR2_ATTRIB 848 1.1 riastrad 0x00000000, // CB_COLOR2_DIM 849 1.1 riastrad 0x00000000, // CB_COLOR2_CMASK 850 1.1 riastrad 0x00000000, // CB_COLOR2_CMASK_SLICE 851 1.1 riastrad 0x00000000, // CB_COLOR2_FMASK 852 1.1 riastrad 0x00000000, // CB_COLOR2_FMASK_SLICE 853 1.1 riastrad 0x00000000, // CB_COLOR2_CLEAR_WORD0 854 1.1 riastrad 0x00000000, // CB_COLOR2_CLEAR_WORD1 855 1.1 riastrad 0x00000000, // CB_COLOR2_CLEAR_WORD2 856 1.1 riastrad 0x00000000, // CB_COLOR2_CLEAR_WORD3 857 1.1 riastrad 0x00000000, // CB_COLOR3_BASE 858 1.1 riastrad 0x00000000, // CB_COLOR3_PITCH 859 1.1 riastrad 0x00000000, // CB_COLOR3_SLICE 860 1.1 riastrad 0x00000000, // CB_COLOR3_VIEW 861 1.1 riastrad 0x00000000, // CB_COLOR3_INFO 862 1.1 riastrad 0x00000000, // CB_COLOR3_ATTRIB 863 1.1 riastrad 0x00000000, // CB_COLOR3_DIM 864 1.1 riastrad 0x00000000, // CB_COLOR3_CMASK 865 1.1 riastrad 0x00000000, // CB_COLOR3_CMASK_SLICE 866 1.1 riastrad 0x00000000, // CB_COLOR3_FMASK 867 1.1 riastrad 0x00000000, // CB_COLOR3_FMASK_SLICE 868 1.1 riastrad 0x00000000, // CB_COLOR3_CLEAR_WORD0 869 1.1 riastrad 0x00000000, // CB_COLOR3_CLEAR_WORD1 870 1.1 riastrad 0x00000000, // CB_COLOR3_CLEAR_WORD2 871 1.1 riastrad 0x00000000, // CB_COLOR3_CLEAR_WORD3 872 1.1 riastrad 0x00000000, // CB_COLOR4_BASE 873 1.1 riastrad 0x00000000, // CB_COLOR4_PITCH 874 1.1 riastrad 0x00000000, // CB_COLOR4_SLICE 875 1.1 riastrad 0x00000000, // CB_COLOR4_VIEW 876 1.1 riastrad 0x00000000, // CB_COLOR4_INFO 877 1.1 riastrad 0x00000000, // CB_COLOR4_ATTRIB 878 1.1 riastrad 0x00000000, // CB_COLOR4_DIM 879 1.1 riastrad 0x00000000, // CB_COLOR4_CMASK 880 1.1 riastrad 0x00000000, // CB_COLOR4_CMASK_SLICE 881 1.1 riastrad 0x00000000, // CB_COLOR4_FMASK 882 1.1 riastrad 0x00000000, // CB_COLOR4_FMASK_SLICE 883 1.1 riastrad 0x00000000, // CB_COLOR4_CLEAR_WORD0 884 1.1 riastrad 0x00000000, // CB_COLOR4_CLEAR_WORD1 885 1.1 riastrad 0x00000000, // CB_COLOR4_CLEAR_WORD2 886 1.1 riastrad 0x00000000, // CB_COLOR4_CLEAR_WORD3 887 1.1 riastrad 0x00000000, // CB_COLOR5_BASE 888 1.1 riastrad 0x00000000, // CB_COLOR5_PITCH 889 1.1 riastrad 0x00000000, // CB_COLOR5_SLICE 890 1.1 riastrad 0x00000000, // CB_COLOR5_VIEW 891 1.1 riastrad 0x00000000, // CB_COLOR5_INFO 892 1.1 riastrad 0x00000000, // CB_COLOR5_ATTRIB 893 1.1 riastrad 0x00000000, // CB_COLOR5_DIM 894 1.1 riastrad 0x00000000, // CB_COLOR5_CMASK 895 1.1 riastrad 0x00000000, // CB_COLOR5_CMASK_SLICE 896 1.1 riastrad 0x00000000, // CB_COLOR5_FMASK 897 1.1 riastrad 0x00000000, // CB_COLOR5_FMASK_SLICE 898 1.1 riastrad 0x00000000, // CB_COLOR5_CLEAR_WORD0 899 1.1 riastrad 0x00000000, // CB_COLOR5_CLEAR_WORD1 900 1.1 riastrad 0x00000000, // CB_COLOR5_CLEAR_WORD2 901 1.1 riastrad 0x00000000, // CB_COLOR5_CLEAR_WORD3 902 1.1 riastrad 0x00000000, // CB_COLOR6_BASE 903 1.1 riastrad 0x00000000, // CB_COLOR6_PITCH 904 1.1 riastrad 0x00000000, // CB_COLOR6_SLICE 905 1.1 riastrad 0x00000000, // CB_COLOR6_VIEW 906 1.1 riastrad 0x00000000, // CB_COLOR6_INFO 907 1.1 riastrad 0x00000000, // CB_COLOR6_ATTRIB 908 1.1 riastrad 0x00000000, // CB_COLOR6_DIM 909 1.1 riastrad 0x00000000, // CB_COLOR6_CMASK 910 1.1 riastrad 0x00000000, // CB_COLOR6_CMASK_SLICE 911 1.1 riastrad 0x00000000, // CB_COLOR6_FMASK 912 1.1 riastrad 0x00000000, // CB_COLOR6_FMASK_SLICE 913 1.1 riastrad 0x00000000, // CB_COLOR6_CLEAR_WORD0 914 1.1 riastrad 0x00000000, // CB_COLOR6_CLEAR_WORD1 915 1.1 riastrad 0x00000000, // CB_COLOR6_CLEAR_WORD2 916 1.1 riastrad 0x00000000, // CB_COLOR6_CLEAR_WORD3 917 1.1 riastrad 0x00000000, // CB_COLOR7_BASE 918 1.1 riastrad 0x00000000, // CB_COLOR7_PITCH 919 1.1 riastrad 0x00000000, // CB_COLOR7_SLICE 920 1.1 riastrad 0x00000000, // CB_COLOR7_VIEW 921 1.1 riastrad 0x00000000, // CB_COLOR7_INFO 922 1.1 riastrad 0x00000000, // CB_COLOR7_ATTRIB 923 1.1 riastrad 0x00000000, // CB_COLOR7_DIM 924 1.1 riastrad 0x00000000, // CB_COLOR7_CMASK 925 1.1 riastrad 0x00000000, // CB_COLOR7_CMASK_SLICE 926 1.1 riastrad 0x00000000, // CB_COLOR7_FMASK 927 1.1 riastrad 0x00000000, // CB_COLOR7_FMASK_SLICE 928 1.1 riastrad 0x00000000, // CB_COLOR7_CLEAR_WORD0 929 1.1 riastrad 0x00000000, // CB_COLOR7_CLEAR_WORD1 930 1.1 riastrad 0x00000000, // CB_COLOR7_CLEAR_WORD2 931 1.1 riastrad 0x00000000, // CB_COLOR7_CLEAR_WORD3 932 1.1 riastrad 0x00000000, // CB_COLOR8_BASE 933 1.1 riastrad 0x00000000, // CB_COLOR8_PITCH 934 1.1 riastrad 0x00000000, // CB_COLOR8_SLICE 935 1.1 riastrad 0x00000000, // CB_COLOR8_VIEW 936 1.1 riastrad 0x00000000, // CB_COLOR8_INFO 937 1.1 riastrad 0x00000000, // CB_COLOR8_ATTRIB 938 1.1 riastrad 0x00000000, // CB_COLOR8_DIM 939 1.1 riastrad 0x00000000, // CB_COLOR9_BASE 940 1.1 riastrad 0x00000000, // CB_COLOR9_PITCH 941 1.1 riastrad 0x00000000, // CB_COLOR9_SLICE 942 1.1 riastrad 0x00000000, // CB_COLOR9_VIEW 943 1.1 riastrad 0x00000000, // CB_COLOR9_INFO 944 1.1 riastrad 0x00000000, // CB_COLOR9_ATTRIB 945 1.1 riastrad 0x00000000, // CB_COLOR9_DIM 946 1.1 riastrad 0x00000000, // CB_COLOR10_BASE 947 1.1 riastrad 0x00000000, // CB_COLOR10_PITCH 948 1.1 riastrad 0x00000000, // CB_COLOR10_SLICE 949 1.1 riastrad 0x00000000, // CB_COLOR10_VIEW 950 1.1 riastrad 0x00000000, // CB_COLOR10_INFO 951 1.1 riastrad 0x00000000, // CB_COLOR10_ATTRIB 952 1.1 riastrad 0x00000000, // CB_COLOR10_DIM 953 1.1 riastrad 0x00000000, // CB_COLOR11_BASE 954 1.1 riastrad 0x00000000, // CB_COLOR11_PITCH 955 1.1 riastrad 0x00000000, // CB_COLOR11_SLICE 956 1.1 riastrad 0x00000000, // CB_COLOR11_VIEW 957 1.1 riastrad 0x00000000, // CB_COLOR11_INFO 958 1.1 riastrad 0x00000000, // CB_COLOR11_ATTRIB 959 1.1 riastrad 0x00000000, // CB_COLOR11_DIM 960 1.1 riastrad 0, // HOLE 961 1.1 riastrad 0, // HOLE 962 1.1 riastrad 0, // HOLE 963 1.1 riastrad 0, // HOLE 964 1.1 riastrad 0, // HOLE 965 1.1 riastrad 0, // HOLE 966 1.1 riastrad 0, // HOLE 967 1.1 riastrad 0, // HOLE 968 1.1 riastrad 0, // HOLE 969 1.1 riastrad 0, // HOLE 970 1.1 riastrad 0, // HOLE 971 1.1 riastrad 0, // HOLE 972 1.1 riastrad 0, // HOLE 973 1.1 riastrad 0, // HOLE 974 1.1 riastrad 0, // HOLE 975 1.1 riastrad 0, // HOLE 976 1.1 riastrad 0, // HOLE 977 1.1 riastrad 0, // HOLE 978 1.1 riastrad 0, // HOLE 979 1.1 riastrad 0, // HOLE 980 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_0 981 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_1 982 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_2 983 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_3 984 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_4 985 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_5 986 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_6 987 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_7 988 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_8 989 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_9 990 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_10 991 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_11 992 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_12 993 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_13 994 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_14 995 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_HS_15 996 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_0 997 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_1 998 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_2 999 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_3 1000 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_4 1001 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_5 1002 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_6 1003 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_7 1004 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_8 1005 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_9 1006 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_10 1007 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_11 1008 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_12 1009 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_13 1010 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_14 1011 1.1 riastrad 0x00000000, // SQ_ALU_CONST_CACHE_LS_15 1012 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_0 1013 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_1 1014 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_2 1015 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_3 1016 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_4 1017 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_5 1018 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_6 1019 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_7 1020 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_8 1021 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_9 1022 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_10 1023 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_11 1024 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_12 1025 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_13 1026 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_14 1027 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_15 1028 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_0 1029 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_1 1030 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_2 1031 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_3 1032 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_4 1033 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_5 1034 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_6 1035 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_7 1036 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_8 1037 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_9 1038 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_10 1039 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_11 1040 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_12 1041 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_13 1042 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_14 1043 1.1 riastrad 0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_15 1044 1.1 riastrad }; 1045 1.1 riastrad static const struct cs_extent_def SECT_CONTEXT_defs[] = 1046 1.1 riastrad { 1047 1.1 riastrad {SECT_CONTEXT_def_1, 0x0000a000, 488 }, 1048 1.1 riastrad {SECT_CONTEXT_def_2, 0x0000a1f5, 6 }, 1049 1.1 riastrad {SECT_CONTEXT_def_3, 0x0000a200, 55 }, 1050 1.1 riastrad {SECT_CONTEXT_def_4, 0x0000a23a, 98 }, 1051 1.1 riastrad {SECT_CONTEXT_def_5, 0x0000a29e, 5 }, 1052 1.1 riastrad {SECT_CONTEXT_def_6, 0x0000a2a5, 56 }, 1053 1.1 riastrad {SECT_CONTEXT_def_7, 0x0000a2de, 290 }, 1054 1.1 riastrad { 0, 0, 0 } 1055 1.1 riastrad }; 1056 1.1 riastrad static const u32 SECT_CLEAR_def_1[] = 1057 1.1 riastrad { 1058 1.1 riastrad 0xffffffff, // SQ_TEX_SAMPLER_CLEAR 1059 1.1 riastrad 0xffffffff, // SQ_TEX_RESOURCE_CLEAR 1060 1.1 riastrad 0xffffffff, // SQ_LOOP_BOOL_CLEAR 1061 1.1 riastrad }; 1062 1.1 riastrad static const struct cs_extent_def SECT_CLEAR_defs[] = 1063 1.1 riastrad { 1064 1.1 riastrad {SECT_CLEAR_def_1, 0x0000ffc0, 3 }, 1065 1.1 riastrad { 0, 0, 0 } 1066 1.1 riastrad }; 1067 1.1 riastrad static const u32 SECT_CTRLCONST_def_1[] = 1068 1.1 riastrad { 1069 1.1 riastrad 0x00000000, // SQ_VTX_BASE_VTX_LOC 1070 1.1 riastrad 0x00000000, // SQ_VTX_START_INST_LOC 1071 1.1 riastrad }; 1072 1.1 riastrad static const struct cs_extent_def SECT_CTRLCONST_defs[] = 1073 1.1 riastrad { 1074 1.1 riastrad {SECT_CTRLCONST_def_1, 0x0000f3fc, 2 }, 1075 1.1 riastrad { 0, 0, 0 } 1076 1.1 riastrad }; 1077 1.1 riastrad static const struct cs_section_def evergreen_cs_data[] = { 1078 1.1 riastrad { SECT_CONTEXT_defs, SECT_CONTEXT }, 1079 1.1 riastrad { SECT_CLEAR_defs, SECT_CLEAR }, 1080 1.1 riastrad { SECT_CTRLCONST_defs, SECT_CTRLCONST }, 1081 1.1 riastrad { 0, SECT_NONE } 1082 1.1 riastrad }; 1083