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