| 1 | /************************************************************************** |
| 2 | * |
| 3 | * Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas. |
| 4 | * All Rights Reserved. |
| 5 | * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 7 | * copy of this software and associated documentation files (the |
| 8 | * "Software"), to deal in the Software without restriction, including |
| 9 | * without limitation the rights to use, copy, modify, merge, publish, |
| 10 | * distribute, sub license, and/or sell copies of the Software, and to |
| 11 | * permit persons to whom the Software is furnished to do so, subject to |
| 12 | * the following conditions: |
| 13 | * |
| 14 | * The above copyright notice and this permission notice (including the |
| 15 | * next paragraph) shall be included in all copies or substantial portions |
| 16 | * of the Software. |
| 17 | * |
| 18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 19 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 20 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. |
| 21 | * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR |
| 22 | * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 23 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 24 | * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 25 | * |
| 26 | **************************************************************************/ |
| 27 | |
| 28 | /* |
| 29 | * New regs for broadwater -- we need to split this file up sensibly somehow. |
| 30 | */ |
| 31 | #define BRW_3Dcxx . . $ `src/uxa/i965_reg.h:31:9`!(Pipeline,Opcode,Subopcode) ((3 << 29) | \ |
| 32 | ((Pipeline) << 27) | \ |
| 33 | ((Opcode) << 24) | \ |
| 34 | ((Subopcode) << 16)) |
| 35 | |
| 36 | #define BRW_URB_FENCEcxx . . $ `src/uxa/i965_reg.h:36:9`! BRW_3D(0, 0, 0) |
| 37 | #define BRW_CS_URB_STATEcxx . . $ `src/uxa/i965_reg.h:37:9`! BRW_3D(0, 0, 1) |
| 38 | #define BRW_CONSTANT_BUFFERcxx . . $ `src/uxa/i965_reg.h:38:9`! BRW_3D(0, 0, 2) |
| 39 | #define BRW_STATE_PREFETCHcxx . . $ `src/uxa/i965_reg.h:39:9`! BRW_3D(0, 0, 3) |
| 40 | |
| 41 | #define BRW_STATE_BASE_ADDRESScxx . . $ `src/uxa/i965_reg.h:41:9`! BRW_3D(0, 1, 1) |
| 42 | #define BRW_STATE_SIPcxx . . $ `src/uxa/i965_reg.h:42:9`! BRW_3D(0, 1, 2) |
| 43 | #define BRW_PIPELINE_SELECTcxx . . $ `src/uxa/i965_reg.h:43:9`! BRW_3D(0, 1, 4) |
| 44 | |
| 45 | #define NEW_PIPELINE_SELECTcxx . . $ `src/uxa/i965_reg.h:45:9`! BRW_3D(1, 1, 4) |
| 46 | |
| 47 | #define BRW_MEDIA_STATE_POINTERScxx . . $ `src/uxa/i965_reg.h:47:9`! BRW_3D(2, 0, 0) |
| 48 | #define BRW_MEDIA_OBJECTcxx . . $ `src/uxa/i965_reg.h:48:9`! BRW_3D(2, 1, 0) |
| 49 | |
| 50 | #define BRW_3DSTATE_PIPELINED_POINTERScxx . . $ `src/uxa/i965_reg.h:50:9`! BRW_3D(3, 0, 0) |
| 51 | #define BRW_3DSTATE_BINDING_TABLE_POINTERScxx . . $ `src/uxa/i965_reg.h:51:9`! BRW_3D(3, 0, 1) |
| 52 | # define GEN6_3DSTATE_BINDING_TABLE_MODIFY_PScxx . . $ `src/uxa/i965_reg.h:52:10`! (1 << 12)/* for GEN6 */ |
| 53 | # define GEN6_3DSTATE_BINDING_TABLE_MODIFY_GScxx . . $ `src/uxa/i965_reg.h:53:10`! (1 << 9) /* for GEN6 */ |
| 54 | # define GEN6_3DSTATE_BINDING_TABLE_MODIFY_VScxx . . $ `src/uxa/i965_reg.h:54:10`! (1 << 8) /* for GEN6 */ |
| 55 | |
| 56 | #define BRW_3DSTATE_VERTEX_BUFFERScxx . . $ `src/uxa/i965_reg.h:56:9`! BRW_3D(3, 0, 8) |
| 57 | #define BRW_3DSTATE_VERTEX_ELEMENTScxx . . $ `src/uxa/i965_reg.h:57:9`! BRW_3D(3, 0, 9) |
| 58 | #define BRW_3DSTATE_INDEX_BUFFERcxx . . $ `src/uxa/i965_reg.h:58:9`! BRW_3D(3, 0, 0xa) |
| 59 | #define BRW_3DSTATE_VF_STATISTICScxx . . $ `src/uxa/i965_reg.h:59:9`! BRW_3D(3, 0, 0xb) |
| 60 | |
| 61 | #define BRW_3DSTATE_DRAWING_RECTANGLEcxx . . $ `src/uxa/i965_reg.h:61:9`! BRW_3D(3, 1, 0) |
| 62 | #define BRW_3DSTATE_CONSTANT_COLORcxx . . $ `src/uxa/i965_reg.h:62:9`! BRW_3D(3, 1, 1) |
| 63 | #define BRW_3DSTATE_SAMPLER_PALETTE_LOADcxx . . $ `src/uxa/i965_reg.h:63:9`! BRW_3D(3, 1, 2) |
| 64 | #define BRW_3DSTATE_CHROMA_KEYcxx . . $ `src/uxa/i965_reg.h:64:9`! BRW_3D(3, 1, 4) |
| 65 | #define BRW_3DSTATE_DEPTH_BUFFERcxx . . $ `src/uxa/i965_reg.h:65:9`! BRW_3D(3, 1, 5) |
| 66 | # define BRW_3DSTATE_DEPTH_BUFFER_TYPE_SHIFTcxx . . $ `src/uxa/i965_reg.h:66:10`! 29 |
| 67 | # define BRW_3DSTATE_DEPTH_BUFFER_FORMAT_SHIFTcxx . . $ `src/uxa/i965_reg.h:67:10`! 18 |
| 68 | |
| 69 | #define BRW_3DSTATE_POLY_STIPPLE_OFFSETcxx . . $ `src/uxa/i965_reg.h:69:9`! BRW_3D(3, 1, 6) |
| 70 | #define BRW_3DSTATE_POLY_STIPPLE_PATTERNcxx . . $ `src/uxa/i965_reg.h:70:9`! BRW_3D(3, 1, 7) |
| 71 | #define BRW_3DSTATE_LINE_STIPPLEcxx . . $ `src/uxa/i965_reg.h:71:9`! BRW_3D(3, 1, 8) |
| 72 | #define BRW_3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMPcxx . . $ `src/uxa/i965_reg.h:72:9`! BRW_3D(3, 1, 9) |
| 73 | /* These two are BLC and CTG only, not BW or CL */ |
| 74 | #define BRW_3DSTATE_AA_LINE_PARAMScxx . . $ `src/uxa/i965_reg.h:74:9`! BRW_3D(3, 1, 0xa) |
| 75 | #define BRW_3DSTATE_GS_SVB_INDEXcxx . . $ `src/uxa/i965_reg.h:75:9`! BRW_3D(3, 1, 0xb) |
| 76 | |
| 77 | #define BRW_PIPE_CONTROLcxx . . $ `src/uxa/i965_reg.h:77:9`! BRW_3Dcxx . . $ `src/uxa/i965_reg.h:31:9`!(3, 2, 0) |
| 78 | |
| 79 | #define BRW_3DPRIMITIVEcxx . . $ `src/uxa/i965_reg.h:79:9`! BRW_3D(3, 3, 0) |
| 80 | |
| 81 | #define BRW_3DSTATE_CLEAR_PARAMScxx . . $ `src/uxa/i965_reg.h:81:9`! BRW_3D(3, 1, 0x10) |
| 82 | /* DW1 */ |
| 83 | # define BRW_3DSTATE_DEPTH_CLEAR_VALIDcxx . . $ `src/uxa/i965_reg.h:83:10`! (1 << 15) |
| 84 | |
| 85 | /* for GEN6+ */ |
| 86 | #define GEN6_3DSTATE_SAMPLER_STATE_POINTERScxx . . $ `src/uxa/i965_reg.h:86:9`! BRW_3D(3, 0, 0x02) |
| 87 | # define GEN6_3DSTATE_SAMPLER_STATE_MODIFY_PScxx . . $ `src/uxa/i965_reg.h:87:10`! (1 << 12) |
| 88 | # define GEN6_3DSTATE_SAMPLER_STATE_MODIFY_GScxx . . $ `src/uxa/i965_reg.h:88:10`! (1 << 9) |
| 89 | # define GEN6_3DSTATE_SAMPLER_STATE_MODIFY_VScxx . . $ `src/uxa/i965_reg.h:89:10`! (1 << 8) |
| 90 | |
| 91 | #define GEN6_3DSTATE_URBcxx . . $ `src/uxa/i965_reg.h:91:9`! BRW_3D(3, 0, 0x05) |
| 92 | /* DW1 */ |
| 93 | # define GEN6_3DSTATE_URB_VS_SIZE_SHIFTcxx . . $ `src/uxa/i965_reg.h:93:10`! 16 |
| 94 | # define GEN6_3DSTATE_URB_VS_ENTRIES_SHIFTcxx . . $ `src/uxa/i965_reg.h:94:10`! 0 |
| 95 | /* DW2 */ |
| 96 | # define GEN6_3DSTATE_URB_GS_ENTRIES_SHIFTcxx . . $ `src/uxa/i965_reg.h:96:10`! 8 |
| 97 | # define GEN6_3DSTATE_URB_GS_SIZE_SHIFTcxx . . $ `src/uxa/i965_reg.h:97:10`! 0 |
| 98 | |
| 99 | #define GEN6_3DSTATE_VIEWPORT_STATE_POINTERScxx . . $ `src/uxa/i965_reg.h:99:9`! BRW_3D(3, 0, 0x0d) |
| 100 | # define GEN6_3DSTATE_VIEWPORT_STATE_MODIFY_CCcxx . . $ `src/uxa/i965_reg.h:100:10`! (1 << 12) |
| 101 | # define GEN6_3DSTATE_VIEWPORT_STATE_MODIFY_SFcxx . . $ `src/uxa/i965_reg.h:101:10`! (1 << 11) |
| 102 | # define GEN6_3DSTATE_VIEWPORT_STATE_MODIFY_CLIPcxx . . $ `src/uxa/i965_reg.h:102:10`! (1 << 10) |
| 103 | |
| 104 | #define GEN6_3DSTATE_CC_STATE_POINTERScxx . . $ `src/uxa/i965_reg.h:104:9`! BRW_3D(3, 0, 0x0e) |
| 105 | |
| 106 | #define GEN6_3DSTATE_VScxx . . $ `src/uxa/i965_reg.h:106:9`! BRW_3D(3, 0, 0x10) |
| 107 | |
| 108 | #define GEN6_3DSTATE_GScxx . . $ `src/uxa/i965_reg.h:108:9`! BRW_3D(3, 0, 0x11) |
| 109 | /* DW4 */ |
| 110 | # define GEN6_3DSTATE_GS_DISPATCH_START_GRF_SHIFTcxx . . $ `src/uxa/i965_reg.h:110:10`! 0 |
| 111 | |
| 112 | #define GEN6_3DSTATE_CLIPcxx . . $ `src/uxa/i965_reg.h:112:9`! BRW_3D(3, 0, 0x12) |
| 113 | |
| 114 | #define GEN6_3DSTATE_SFcxx . . $ `src/uxa/i965_reg.h:114:9`! BRW_3D(3, 0, 0x13) |
| 115 | /* DW1 */ |
| 116 | # define GEN6_3DSTATE_SF_NUM_OUTPUTS_SHIFTcxx . . $ `src/uxa/i965_reg.h:116:10`! 22 |
| 117 | # define GEN6_3DSTATE_SF_URB_ENTRY_READ_LENGTH_SHIFTcxx . . $ `src/uxa/i965_reg.h:117:10`! 11 |
| 118 | # define GEN6_3DSTATE_SF_URB_ENTRY_READ_OFFSET_SHIFTcxx . . $ `src/uxa/i965_reg.h:118:10`! 4 |
| 119 | /* DW2 */ |
| 120 | /* DW3 */ |
| 121 | # define GEN6_3DSTATE_SF_CULL_BOTHcxx . . $ `src/uxa/i965_reg.h:121:10`! (0 << 29) |
| 122 | # define GEN6_3DSTATE_SF_CULL_NONEcxx . . $ `src/uxa/i965_reg.h:122:10`! (1 << 29) |
| 123 | # define GEN6_3DSTATE_SF_CULL_FRONTcxx . . $ `src/uxa/i965_reg.h:123:10`! (2 << 29) |
| 124 | # define GEN6_3DSTATE_SF_CULL_BACKcxx . . $ `src/uxa/i965_reg.h:124:10`! (3 << 29) |
| 125 | /* DW4 */ |
| 126 | # define GEN6_3DSTATE_SF_TRI_PROVOKE_SHIFTcxx . . $ `src/uxa/i965_reg.h:126:10`! 29 |
| 127 | # define GEN6_3DSTATE_SF_LINE_PROVOKE_SHIFTcxx . . $ `src/uxa/i965_reg.h:127:10`! 27 |
| 128 | # define GEN6_3DSTATE_SF_TRIFAN_PROVOKE_SHIFTcxx . . $ `src/uxa/i965_reg.h:128:10`! 25 |
| 129 | |
| 130 | |
| 131 | #define GEN6_3DSTATE_WMcxx . . $ `src/uxa/i965_reg.h:131:9`! BRW_3D(3, 0, 0x14) |
| 132 | /* DW2 */ |
| 133 | # define GEN6_3DSTATE_WM_SAMPLER_COUNT_SHITFcxx . . $ `src/uxa/i965_reg.h:133:10`! 27 |
| 134 | # define GEN6_3DSTATE_WM_BINDING_TABLE_ENTRY_COUNT_SHIFTcxx . . $ `src/uxa/i965_reg.h:134:10`! 18 |
| 135 | /* DW4 */ |
| 136 | # define GEN6_3DSTATE_WM_DISPATCH_START_GRF_0_SHIFTcxx . . $ `src/uxa/i965_reg.h:136:10`! 16 |
| 137 | /* DW5 */ |
| 138 | # define GEN6_3DSTATE_WM_MAX_THREADS_SHIFTcxx . . $ `src/uxa/i965_reg.h:138:10`! 25 |
| 139 | # define GEN6_3DSTATE_WM_DISPATCH_ENABLEcxx . . $ `src/uxa/i965_reg.h:139:10`! (1 << 19) |
| 140 | # define GEN6_3DSTATE_WM_16_DISPATCH_ENABLEcxx . . $ `src/uxa/i965_reg.h:140:10`! (1 << 1) |
| 141 | # define GEN6_3DSTATE_WM_8_DISPATCH_ENABLEcxx . . $ `src/uxa/i965_reg.h:141:10`! (1 << 0) |
| 142 | /* DW6 */ |
| 143 | # define GEN6_3DSTATE_WM_NUM_SF_OUTPUTS_SHIFTcxx . . $ `src/uxa/i965_reg.h:143:10`! 20 |
| 144 | # define GEN6_3DSTATE_WM_NONPERSPECTIVE_SAMPLE_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:144:10`! (1 << 15) |
| 145 | # define GEN6_3DSTATE_WM_NONPERSPECTIVE_CENTROID_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:145:10`! (1 << 14) |
| 146 | # define GEN6_3DSTATE_WM_NONPERSPECTIVE_PIXEL_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:146:10`! (1 << 13) |
| 147 | # define GEN6_3DSTATE_WM_PERSPECTIVE_SAMPLE_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:147:10`! (1 << 12) |
| 148 | # define GEN6_3DSTATE_WM_PERSPECTIVE_CENTROID_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:148:10`! (1 << 11) |
| 149 | # define GEN6_3DSTATE_WM_PERSPECTIVE_PIXEL_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:149:10`! (1 << 10) |
| 150 | |
| 151 | |
| 152 | #define GEN6_3DSTATE_CONSTANT_VScxx . . $ `src/uxa/i965_reg.h:152:9`! BRW_3D(3, 0, 0x15) |
| 153 | #define GEN6_3DSTATE_CONSTANT_GScxx . . $ `src/uxa/i965_reg.h:153:9`! BRW_3D(3, 0, 0x16) |
| 154 | #define GEN6_3DSTATE_CONSTANT_PScxx . . $ `src/uxa/i965_reg.h:154:9`! BRW_3D(3, 0, 0x17) |
| 155 | |
| 156 | #define GEN6_3DSTATE_SAMPLE_MASKcxx . . $ `src/uxa/i965_reg.h:156:9`! BRW_3D(3, 0, 0x18) |
| 157 | |
| 158 | #define GEN6_3DSTATE_MULTISAMPLEcxx . . $ `src/uxa/i965_reg.h:158:9`! BRW_3D(3, 1, 0x0d) |
| 159 | /* DW1 */ |
| 160 | # define GEN6_3DSTATE_MULTISAMPLE_PIXEL_LOCATION_CENTERcxx . . $ `src/uxa/i965_reg.h:160:10`! (0 << 4) |
| 161 | # define GEN6_3DSTATE_MULTISAMPLE_PIXEL_LOCATION_UPPER_LEFTcxx . . $ `src/uxa/i965_reg.h:161:10`! (1 << 4) |
| 162 | # define GEN6_3DSTATE_MULTISAMPLE_NUMSAMPLES_1cxx . . $ `src/uxa/i965_reg.h:162:10`! (0 << 1) |
| 163 | # define GEN6_3DSTATE_MULTISAMPLE_NUMSAMPLES_4cxx . . $ `src/uxa/i965_reg.h:163:10`! (2 << 1) |
| 164 | # define GEN6_3DSTATE_MULTISAMPLE_NUMSAMPLES_8cxx . . $ `src/uxa/i965_reg.h:164:10`! (3 << 1) |
| 165 | |
| 166 | /* on GEN7+ */ |
| 167 | /* _3DSTATE_VERTEX_BUFFERS on GEN7*/ |
| 168 | /* DW1 */ |
| 169 | #define GEN7_VB0_ADDRESS_MODIFYENABLEcxx . . $ `src/uxa/i965_reg.h:169:9`! (1 << 14) |
| 170 | |
| 171 | /* _3DPRIMITIVE on GEN7 */ |
| 172 | /* DW1 */ |
| 173 | # define GEN7_3DPRIM_VERTEXBUFFER_ACCESS_SEQUENTIALcxx . . $ `src/uxa/i965_reg.h:173:10`! (0 << 8) |
| 174 | # define GEN7_3DPRIM_VERTEXBUFFER_ACCESS_RANDOMcxx . . $ `src/uxa/i965_reg.h:174:10`! (1 << 8) |
| 175 | |
| 176 | /* 3DSTATE_WM on GEN7 */ |
| 177 | /* DW1 */ |
| 178 | # define GEN7_WM_STATISTICS_ENABLEcxx . . $ `src/uxa/i965_reg.h:178:10`! (1 << 31) |
| 179 | # define GEN7_WM_DEPTH_CLEARcxx . . $ `src/uxa/i965_reg.h:179:10`! (1 << 30) |
| 180 | # define GEN7_WM_DISPATCH_ENABLEcxx . . $ `src/uxa/i965_reg.h:180:10`! (1 << 29) |
| 181 | # define GEN6_WM_DEPTH_RESOLVEcxx . . $ `src/uxa/i965_reg.h:181:10`! (1 << 28) |
| 182 | # define GEN7_WM_HIERARCHICAL_DEPTH_RESOLVEcxx . . $ `src/uxa/i965_reg.h:182:10`! (1 << 27) |
| 183 | # define GEN7_WM_KILL_ENABLEcxx . . $ `src/uxa/i965_reg.h:183:10`! (1 << 25) |
| 184 | # define GEN7_WM_PSCDEPTH_OFFcxx . . $ `src/uxa/i965_reg.h:184:10`! (0 << 23) |
| 185 | # define GEN7_WM_PSCDEPTH_ONcxx . . $ `src/uxa/i965_reg.h:185:10`! (1 << 23) |
| 186 | # define GEN7_WM_PSCDEPTH_ON_GEcxx . . $ `src/uxa/i965_reg.h:186:10`! (2 << 23) |
| 187 | # define GEN7_WM_PSCDEPTH_ON_LEcxx . . $ `src/uxa/i965_reg.h:187:10`! (3 << 23) |
| 188 | # define GEN7_WM_USES_SOURCE_DEPTHcxx . . $ `src/uxa/i965_reg.h:188:10`! (1 << 20) |
| 189 | # define GEN7_WM_USES_SOURCE_Wcxx . . $ `src/uxa/i965_reg.h:189:10`! (1 << 19) |
| 190 | # define GEN7_WM_POSITION_ZW_PIXELcxx . . $ `src/uxa/i965_reg.h:190:10`! (0 << 17) |
| 191 | # define GEN7_WM_POSITION_ZW_CENTROIDcxx . . $ `src/uxa/i965_reg.h:191:10`! (2 << 17) |
| 192 | # define GEN7_WM_POSITION_ZW_SAMPLEcxx . . $ `src/uxa/i965_reg.h:192:10`! (3 << 17) |
| 193 | # define GEN7_WM_NONPERSPECTIVE_SAMPLE_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:193:10`! (1 << 16) |
| 194 | # define GEN7_WM_NONPERSPECTIVE_CENTROID_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:194:10`! (1 << 15) |
| 195 | # define GEN7_WM_NONPERSPECTIVE_PIXEL_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:195:10`! (1 << 14) |
| 196 | # define GEN7_WM_PERSPECTIVE_SAMPLE_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:196:10`! (1 << 13) |
| 197 | # define GEN7_WM_PERSPECTIVE_CENTROID_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:197:10`! (1 << 12) |
| 198 | # define GEN7_WM_PERSPECTIVE_PIXEL_BARYCENTRICcxx . . $ `src/uxa/i965_reg.h:198:10`! (1 << 11) |
| 199 | # define GEN7_WM_USES_INPUT_COVERAGE_MASKcxx . . $ `src/uxa/i965_reg.h:199:10`! (1 << 10) |
| 200 | # define GEN7_WM_LINE_END_CAP_AA_WIDTH_0_5cxx . . $ `src/uxa/i965_reg.h:200:10`! (0 << 8) |
| 201 | # define GEN7_WM_LINE_END_CAP_AA_WIDTH_1_0cxx . . $ `src/uxa/i965_reg.h:201:10`! (1 << 8) |
| 202 | # define GEN7_WM_LINE_END_CAP_AA_WIDTH_2_0cxx . . $ `src/uxa/i965_reg.h:202:10`! (2 << 8) |
| 203 | # define GEN7_WM_LINE_END_CAP_AA_WIDTH_4_0cxx . . $ `src/uxa/i965_reg.h:203:10`! (3 << 8) |
| 204 | # define GEN7_WM_LINE_AA_WIDTH_0_5cxx . . $ `src/uxa/i965_reg.h:204:10`! (0 << 6) |
| 205 | # define GEN7_WM_LINE_AA_WIDTH_1_0cxx . . $ `src/uxa/i965_reg.h:205:10`! (1 << 6) |
| 206 | # define GEN7_WM_LINE_AA_WIDTH_2_0cxx . . $ `src/uxa/i965_reg.h:206:10`! (2 << 6) |
| 207 | # define GEN7_WM_LINE_AA_WIDTH_4_0cxx . . $ `src/uxa/i965_reg.h:207:10`! (3 << 6) |
| 208 | # define GEN7_WM_POLYGON_STIPPLE_ENABLEcxx . . $ `src/uxa/i965_reg.h:208:10`! (1 << 4) |
| 209 | # define GEN7_WM_LINE_STIPPLE_ENABLEcxx . . $ `src/uxa/i965_reg.h:209:10`! (1 << 3) |
| 210 | # define GEN7_WM_POINT_RASTRULE_UPPER_RIGHTcxx . . $ `src/uxa/i965_reg.h:210:10`! (1 << 2) |
| 211 | # define GEN7_WM_MSRAST_OFF_PIXELcxx . . $ `src/uxa/i965_reg.h:211:10`! (0 << 0) |
| 212 | # define GEN7_WM_MSRAST_OFF_PATTERNcxx . . $ `src/uxa/i965_reg.h:212:10`! (1 << 0) |
| 213 | # define GEN7_WM_MSRAST_ON_PIXELcxx . . $ `src/uxa/i965_reg.h:213:10`! (2 << 0) |
| 214 | # define GEN7_WM_MSRAST_ON_PATTERNcxx . . $ `src/uxa/i965_reg.h:214:10`! (3 << 0) |
| 215 | /* DW2 */ |
| 216 | # define GEN7_WM_MSDISPMODE_PERPIXELcxx . . $ `src/uxa/i965_reg.h:216:10`! (1 << 31) |
| 217 | |
| 218 | #define GEN7_3DSTATE_CLEAR_PARAMScxx . . $ `src/uxa/i965_reg.h:218:9`! BRW_3D(3, 0, 0x04) |
| 219 | #define GEN7_3DSTATE_DEPTH_BUFFERcxx . . $ `src/uxa/i965_reg.h:219:9`! BRW_3D(3, 0, 0x05) |
| 220 | |
| 221 | #define GEN7_3DSTATE_CONSTANT_HScxx . . $ `src/uxa/i965_reg.h:221:9`! BRW_3D(3, 0, 0x19) |
| 222 | #define GEN7_3DSTATE_CONSTANT_DScxx . . $ `src/uxa/i965_reg.h:222:9`! BRW_3D(3, 0, 0x1a) |
| 223 | |
| 224 | #define GEN7_3DSTATE_HScxx . . $ `src/uxa/i965_reg.h:224:9`! BRW_3D(3, 0, 0x1b) |
| 225 | #define GEN7_3DSTATE_TEcxx . . $ `src/uxa/i965_reg.h:225:9`! BRW_3D(3, 0, 0x1c) |
| 226 | #define GEN7_3DSTATE_DScxx . . $ `src/uxa/i965_reg.h:226:9`! BRW_3D(3, 0, 0x1d) |
| 227 | #define GEN7_3DSTATE_STREAMOUTcxx . . $ `src/uxa/i965_reg.h:227:9`! BRW_3D(3, 0, 0x1e) |
| 228 | #define GEN7_3DSTATE_SBEcxx . . $ `src/uxa/i965_reg.h:228:9`! BRW_3D(3, 0, 0x1f) |
| 229 | |
| 230 | /* DW1 */ |
| 231 | # define GEN7_SBE_SWIZZLE_CONTROL_MODEcxx . . $ `src/uxa/i965_reg.h:231:10`! (1 << 28) |
| 232 | # define GEN7_SBE_NUM_OUTPUTS_SHIFTcxx . . $ `src/uxa/i965_reg.h:232:10`! 22 |
| 233 | # define GEN7_SBE_SWIZZLE_ENABLEcxx . . $ `src/uxa/i965_reg.h:233:10`! (1 << 21) |
| 234 | # define GEN7_SBE_POINT_SPRITE_LOWERLEFTcxx . . $ `src/uxa/i965_reg.h:234:10`! (1 << 20) |
| 235 | # define GEN7_SBE_URB_ENTRY_READ_LENGTH_SHIFTcxx . . $ `src/uxa/i965_reg.h:235:10`! 11 |
| 236 | # define GEN7_SBE_URB_ENTRY_READ_OFFSET_SHIFTcxx . . $ `src/uxa/i965_reg.h:236:10`! 4 |
| 237 | |
| 238 | #define GEN7_3DSTATE_PScxx . . $ `src/uxa/i965_reg.h:238:9`! BRW_3D(3, 0, 0x20) |
| 239 | /* DW1: kernel pointer */ |
| 240 | /* DW2 */ |
| 241 | # define GEN7_PS_SPF_MODEcxx . . $ `src/uxa/i965_reg.h:241:10`! (1 << 31) |
| 242 | # define GEN7_PS_VECTOR_MASK_ENABLEcxx . . $ `src/uxa/i965_reg.h:242:10`! (1 << 30) |
| 243 | # define GEN7_PS_SAMPLER_COUNT_SHIFTcxx . . $ `src/uxa/i965_reg.h:243:10`! 27 |
| 244 | # define GEN7_PS_BINDING_TABLE_ENTRY_COUNT_SHIFTcxx . . $ `src/uxa/i965_reg.h:244:10`! 18 |
| 245 | # define GEN7_PS_FLOATING_POINT_MODE_IEEE_754cxx . . $ `src/uxa/i965_reg.h:245:10`! (0 << 16) |
| 246 | # define GEN7_PS_FLOATING_POINT_MODE_ALTcxx . . $ `src/uxa/i965_reg.h:246:10`! (1 << 16) |
| 247 | /* DW3: scratch space */ |
| 248 | /* DW4 */ |
| 249 | # define GEN7_PS_MAX_THREADS_SHIFT_IVBcxx . . $ `src/uxa/i965_reg.h:249:10`! 24 |
| 250 | # define GEN7_PS_MAX_THREADS_SHIFT_HSWcxx . . $ `src/uxa/i965_reg.h:250:10`! 23 |
| 251 | # define GEN7_PS_SAMPLE_MASK_SHIFT_HSWcxx . . $ `src/uxa/i965_reg.h:251:10`! 12 |
| 252 | # define GEN7_PS_PUSH_CONSTANT_ENABLEcxx . . $ `src/uxa/i965_reg.h:252:10`! (1 << 11) |
| 253 | # define GEN7_PS_ATTRIBUTE_ENABLEcxx . . $ `src/uxa/i965_reg.h:253:10`! (1 << 10) |
| 254 | # define GEN7_PS_OMASK_TO_RENDER_TARGETcxx . . $ `src/uxa/i965_reg.h:254:10`! (1 << 9) |
| 255 | # define GEN7_PS_DUAL_SOURCE_BLEND_ENABLEcxx . . $ `src/uxa/i965_reg.h:255:10`! (1 << 7) |
| 256 | # define GEN7_PS_POSOFFSET_NONEcxx . . $ `src/uxa/i965_reg.h:256:10`! (0 << 3) |
| 257 | # define GEN7_PS_POSOFFSET_CENTROIDcxx . . $ `src/uxa/i965_reg.h:257:10`! (2 << 3) |
| 258 | # define GEN7_PS_POSOFFSET_SAMPLEcxx . . $ `src/uxa/i965_reg.h:258:10`! (3 << 3) |
| 259 | # define GEN7_PS_32_DISPATCH_ENABLEcxx . . $ `src/uxa/i965_reg.h:259:10`! (1 << 2) |
| 260 | # define GEN7_PS_16_DISPATCH_ENABLEcxx . . $ `src/uxa/i965_reg.h:260:10`! (1 << 1) |
| 261 | # define GEN7_PS_8_DISPATCH_ENABLEcxx . . $ `src/uxa/i965_reg.h:261:10`! (1 << 0) |
| 262 | /* DW5 */ |
| 263 | # define GEN7_PS_DISPATCH_START_GRF_SHIFT_0cxx . . $ `src/uxa/i965_reg.h:263:10`! 16 |
| 264 | # define GEN7_PS_DISPATCH_START_GRF_SHIFT_1cxx . . $ `src/uxa/i965_reg.h:264:10`! 8 |
| 265 | # define GEN7_PS_DISPATCH_START_GRF_SHIFT_2cxx . . $ `src/uxa/i965_reg.h:265:10`! 0 |
| 266 | /* DW6: kernel 1 pointer */ |
| 267 | /* DW7: kernel 2 pointer */ |
| 268 | |
| 269 | #define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLcxx . . $ `src/uxa/i965_reg.h:269:9`! BRW_3D(3, 0, 0x21) |
| 270 | #define GEN7_3DSTATE_VIEWPORT_STATE_POINTERS_CCcxx . . $ `src/uxa/i965_reg.h:270:9`! BRW_3D(3, 0, 0x23) |
| 271 | |
| 272 | #define GEN7_3DSTATE_BLEND_STATE_POINTERScxx . . $ `src/uxa/i965_reg.h:272:9`! BRW_3D(3, 0, 0x24) |
| 273 | #define GEN7_3DSTATE_DEPTH_STENCIL_STATE_POINTERScxx . . $ `src/uxa/i965_reg.h:273:9`! BRW_3D(3, 0, 0x25) |
| 274 | |
| 275 | #define GEN7_3DSTATE_BINDING_TABLE_POINTERS_VScxx . . $ `src/uxa/i965_reg.h:275:9`! BRW_3D(3, 0, 0x26) |
| 276 | #define GEN7_3DSTATE_BINDING_TABLE_POINTERS_HScxx . . $ `src/uxa/i965_reg.h:276:9`! BRW_3D(3, 0, 0x27) |
| 277 | #define GEN7_3DSTATE_BINDING_TABLE_POINTERS_DScxx . . $ `src/uxa/i965_reg.h:277:9`! BRW_3D(3, 0, 0x28) |
| 278 | #define GEN7_3DSTATE_BINDING_TABLE_POINTERS_GScxx . . $ `src/uxa/i965_reg.h:278:9`! BRW_3D(3, 0, 0x29) |
| 279 | #define GEN7_3DSTATE_BINDING_TABLE_POINTERS_PScxx . . $ `src/uxa/i965_reg.h:279:9`! BRW_3D(3, 0, 0x2a) |
| 280 | |
| 281 | #define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_VScxx . . $ `src/uxa/i965_reg.h:281:9`! BRW_3D(3, 0, 0x2b) |
| 282 | #define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_GScxx . . $ `src/uxa/i965_reg.h:282:9`! BRW_3D(3, 0, 0x2e) |
| 283 | #define GEN7_3DSTATE_SAMPLER_STATE_POINTERS_PScxx . . $ `src/uxa/i965_reg.h:283:9`! BRW_3D(3, 0, 0x2f) |
| 284 | |
| 285 | #define GEN7_3DSTATE_URB_VScxx . . $ `src/uxa/i965_reg.h:285:9`! BRW_3D(3, 0, 0x30) |
| 286 | #define GEN7_3DSTATE_URB_HScxx . . $ `src/uxa/i965_reg.h:286:9`! BRW_3D(3, 0, 0x31) |
| 287 | #define GEN7_3DSTATE_URB_DScxx . . $ `src/uxa/i965_reg.h:287:9`! BRW_3D(3, 0, 0x32) |
| 288 | #define GEN7_3DSTATE_URB_GScxx . . $ `src/uxa/i965_reg.h:288:9`! BRW_3D(3, 0, 0x33) |
| 289 | /* DW1 */ |
| 290 | # define GEN7_URB_ENTRY_NUMBER_SHIFTcxx . . $ `src/uxa/i965_reg.h:290:10`! 0 |
| 291 | # define GEN7_URB_ENTRY_SIZE_SHIFTcxx . . $ `src/uxa/i965_reg.h:291:10`! 16 |
| 292 | # define GEN7_URB_STARTING_ADDRESS_SHIFTcxx . . $ `src/uxa/i965_reg.h:292:10`! 25 |
| 293 | |
| 294 | #define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_VScxx . . $ `src/uxa/i965_reg.h:294:9`! BRW_3D(3, 1, 0x12) |
| 295 | #define GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PScxx . . $ `src/uxa/i965_reg.h:295:9`! BRW_3D(3, 1, 0x16) |
| 296 | /* DW1 */ |
| 297 | # define GEN7_PUSH_CONSTANT_BUFFER_OFFSET_SHIFTcxx . . $ `src/uxa/i965_reg.h:297:10`! 16 |
| 298 | |
| 299 | |
| 300 | #define PIPELINE_SELECT_3Dcxx . . $ `src/uxa/i965_reg.h:300:9`! 0 |
| 301 | #define PIPELINE_SELECT_MEDIAcxx . . $ `src/uxa/i965_reg.h:301:9`! 1 |
| 302 | |
| 303 | #define UF0_CS_REALLOCcxx . . $ `src/uxa/i965_reg.h:303:9`! (1 << 13) |
| 304 | #define UF0_VFE_REALLOCcxx . . $ `src/uxa/i965_reg.h:304:9`! (1 << 12) |
| 305 | #define UF0_SF_REALLOCcxx . . $ `src/uxa/i965_reg.h:305:9`! (1 << 11) |
| 306 | #define UF0_CLIP_REALLOCcxx . . $ `src/uxa/i965_reg.h:306:9`! (1 << 10) |
| 307 | #define UF0_GS_REALLOCcxx . . $ `src/uxa/i965_reg.h:307:9`! (1 << 9) |
| 308 | #define UF0_VS_REALLOCcxx . . $ `src/uxa/i965_reg.h:308:9`! (1 << 8) |
| 309 | #define UF1_CLIP_FENCE_SHIFTcxx . . $ `src/uxa/i965_reg.h:309:9`! 20 |
| 310 | #define UF1_GS_FENCE_SHIFTcxx . . $ `src/uxa/i965_reg.h:310:9`! 10 |
| 311 | #define UF1_VS_FENCE_SHIFTcxx . . $ `src/uxa/i965_reg.h:311:9`! 0 |
| 312 | #define UF2_CS_FENCE_SHIFTcxx . . $ `src/uxa/i965_reg.h:312:9`! 20 |
| 313 | #define UF2_VFE_FENCE_SHIFTcxx . . $ `src/uxa/i965_reg.h:313:9`! 10 |
| 314 | #define UF2_SF_FENCE_SHIFTcxx . . $ `src/uxa/i965_reg.h:314:9`! 0 |
| 315 | |
| 316 | /* for BRW_STATE_BASE_ADDRESS */ |
| 317 | #define BASE_ADDRESS_MODIFYcxx . . $ `src/uxa/i965_reg.h:317:9`! (1 << 0) |
| 318 | |
| 319 | /* for BRW_3DSTATE_PIPELINED_POINTERS */ |
| 320 | #define BRW_GS_DISABLEcxx . . $ `src/uxa/i965_reg.h:320:9`! 0 |
| 321 | #define BRW_GS_ENABLEcxx . . $ `src/uxa/i965_reg.h:321:9`! 1 |
| 322 | #define BRW_CLIP_DISABLEcxx . . $ `src/uxa/i965_reg.h:322:9`! 0 |
| 323 | #define BRW_CLIP_ENABLEcxx . . $ `src/uxa/i965_reg.h:323:9`! 1 |
| 324 | |
| 325 | /* for BRW_PIPE_CONTROL */ |
| 326 | #define BRW_PIPE_CONTROL_CS_STALLcxx . . $ `src/uxa/i965_reg.h:326:9`! (1 << 20) |
| 327 | #define BRW_PIPE_CONTROL_NOWRITEcxx . . $ `src/uxa/i965_reg.h:327:9`! (0 << 14) |
| 328 | #define BRW_PIPE_CONTROL_WRITE_QWORDcxx . . $ `src/uxa/i965_reg.h:328:9`! (1 << 14) |
| 329 | #define BRW_PIPE_CONTROL_WRITE_DEPTHcxx . . $ `src/uxa/i965_reg.h:329:9`! (2 << 14) |
| 330 | #define BRW_PIPE_CONTROL_WRITE_TIMEcxx . . $ `src/uxa/i965_reg.h:330:9`! (3 << 14) |
| 331 | #define BRW_PIPE_CONTROL_DEPTH_STALLcxx . . $ `src/uxa/i965_reg.h:331:9`! (1 << 13) |
| 332 | #define BRW_PIPE_CONTROL_WC_FLUSHcxx . . $ `src/uxa/i965_reg.h:332:9`! (1 << 12) |
| 333 | #define BRW_PIPE_CONTROL_IS_FLUSHcxx . . $ `src/uxa/i965_reg.h:333:9`! (1 << 11) |
| 334 | #define BRW_PIPE_CONTROL_TC_FLUSHcxx . . $ `src/uxa/i965_reg.h:334:9`! (1 << 10) |
| 335 | #define BRW_PIPE_CONTROL_NOTIFY_ENABLEcxx . . $ `src/uxa/i965_reg.h:335:9`! (1 << 8) |
| 336 | #define BRW_PIPE_CONTROL_GLOBAL_GTTcxx . . $ `src/uxa/i965_reg.h:336:9`! (1 << 2) |
| 337 | #define BRW_PIPE_CONTROL_LOCAL_PGTTcxx . . $ `src/uxa/i965_reg.h:337:9`! (0 << 2) |
| 338 | #define BRW_PIPE_CONTROL_STALL_AT_SCOREBOARDcxx . . $ `src/uxa/i965_reg.h:338:9`! (1 << 1) |
| 339 | #define BRW_PIPE_CONTROL_DEPTH_CACHE_FLUSHcxx . . $ `src/uxa/i965_reg.h:339:9`! (1 << 0) |
| 340 | |
| 341 | /* VERTEX_BUFFER_STATE Structure */ |
| 342 | #define VB0_BUFFER_INDEX_SHIFTcxx . . $ `src/uxa/i965_reg.h:342:9`! 27 |
| 343 | #define GEN6_VB0_BUFFER_INDEX_SHIFTcxx . . $ `src/uxa/i965_reg.h:343:9`! 26 |
| 344 | #define VB0_VERTEXDATAcxx . . $ `src/uxa/i965_reg.h:344:9`! (0 << 26) |
| 345 | #define VB0_INSTANCEDATAcxx . . $ `src/uxa/i965_reg.h:345:9`! (1 << 26) |
| 346 | #define GEN6_VB0_VERTEXDATAcxx . . $ `src/uxa/i965_reg.h:346:9`! (0 << 20) |
| 347 | #define GEN6_VB0_INSTANCEDATAcxx . . $ `src/uxa/i965_reg.h:347:9`! (1 << 20) |
| 348 | #define VB0_BUFFER_PITCH_SHIFTcxx . . $ `src/uxa/i965_reg.h:348:9`! 0 |
| 349 | |
| 350 | /* VERTEX_ELEMENT_STATE Structure */ |
| 351 | #define VE0_VERTEX_BUFFER_INDEX_SHIFTcxx . . $ `src/uxa/i965_reg.h:351:9`! 27 |
| 352 | #define GEN6_VE0_VERTEX_BUFFER_INDEX_SHIFTcxx . . $ `src/uxa/i965_reg.h:352:9`! 26 /* for GEN6 */ |
| 353 | #define VE0_VALIDcxx . . $ `src/uxa/i965_reg.h:353:9`! (1 << 26) |
| 354 | #define GEN6_VE0_VALIDcxx . . $ `src/uxa/i965_reg.h:354:9`! (1 << 25) /* for GEN6 */ |
| 355 | #define VE0_FORMAT_SHIFTcxx . . $ `src/uxa/i965_reg.h:355:9`! 16 |
| 356 | #define VE0_OFFSET_SHIFTcxx . . $ `src/uxa/i965_reg.h:356:9`! 0 |
| 357 | #define VE1_VFCOMPONENT_0_SHIFTcxx . . $ `src/uxa/i965_reg.h:357:9`! 28 |
| 358 | #define VE1_VFCOMPONENT_1_SHIFTcxx . . $ `src/uxa/i965_reg.h:358:9`! 24 |
| 359 | #define VE1_VFCOMPONENT_2_SHIFTcxx . . $ `src/uxa/i965_reg.h:359:9`! 20 |
| 360 | #define VE1_VFCOMPONENT_3_SHIFTcxx . . $ `src/uxa/i965_reg.h:360:9`! 16 |
| 361 | #define VE1_DESTINATION_ELEMENT_OFFSET_SHIFTcxx . . $ `src/uxa/i965_reg.h:361:9`! 0 |
| 362 | |
| 363 | /* 3DPRIMITIVE bits */ |
| 364 | #define BRW_3DPRIMITIVE_VERTEX_SEQUENTIALcxx . . $ `src/uxa/i965_reg.h:364:9`! (0 << 15) |
| 365 | #define BRW_3DPRIMITIVE_VERTEX_RANDOMcxx . . $ `src/uxa/i965_reg.h:365:9`! (1 << 15) |
| 366 | /* Primitive types are in brw_defines.h */ |
| 367 | #define BRW_3DPRIMITIVE_TOPOLOGY_SHIFTcxx . . $ `src/uxa/i965_reg.h:367:9`! 10 |
| 368 | |
| 369 | #define BRW_SVG_CTLcxx . . $ `src/uxa/i965_reg.h:369:9`! 0x7400 |
| 370 | |
| 371 | #define BRW_SVG_CTL_GS_BAcxx . . $ `src/uxa/i965_reg.h:371:9`! (0 << 8) |
| 372 | #define BRW_SVG_CTL_SS_BAcxx . . $ `src/uxa/i965_reg.h:372:9`! (1 << 8) |
| 373 | #define BRW_SVG_CTL_IO_BAcxx . . $ `src/uxa/i965_reg.h:373:9`! (2 << 8) |
| 374 | #define BRW_SVG_CTL_GS_AUBcxx . . $ `src/uxa/i965_reg.h:374:9`! (3 << 8) |
| 375 | #define BRW_SVG_CTL_IO_AUBcxx . . $ `src/uxa/i965_reg.h:375:9`! (4 << 8) |
| 376 | #define BRW_SVG_CTL_SIPcxx . . $ `src/uxa/i965_reg.h:376:9`! (5 << 8) |
| 377 | |
| 378 | #define BRW_SVG_RDATAcxx . . $ `src/uxa/i965_reg.h:378:9`! 0x7404 |
| 379 | #define BRW_SVG_WORK_CTLcxx . . $ `src/uxa/i965_reg.h:379:9`! 0x7408 |
| 380 | |
| 381 | #define BRW_VF_CTLcxx . . $ `src/uxa/i965_reg.h:381:9`! 0x7500 |
| 382 | |
| 383 | #define BRW_VF_CTL_SNAPSHOT_COMPLETEcxx . . $ `src/uxa/i965_reg.h:383:9`! (1 << 31) |
| 384 | #define BRW_VF_CTL_SNAPSHOT_MUX_SELECT_THREADIDcxx . . $ `src/uxa/i965_reg.h:384:9`! (0 << 8) |
| 385 | #define BRW_VF_CTL_SNAPSHOT_MUX_SELECT_VF_DEBUGcxx . . $ `src/uxa/i965_reg.h:385:9`! (1 << 8) |
| 386 | #define BRW_VF_CTL_SNAPSHOT_TYPE_VERTEX_SEQUENCEcxx . . $ `src/uxa/i965_reg.h:386:9`! (0 << 4) |
| 387 | #define BRW_VF_CTL_SNAPSHOT_TYPE_VERTEX_INDEXcxx . . $ `src/uxa/i965_reg.h:387:9`! (1 << 4) |
| 388 | #define BRW_VF_CTL_SKIP_INITIAL_PRIMITIVEScxx . . $ `src/uxa/i965_reg.h:388:9`! (1 << 3) |
| 389 | #define BRW_VF_CTL_MAX_PRIMITIVES_LIMIT_ENABLEcxx . . $ `src/uxa/i965_reg.h:389:9`! (1 << 2) |
| 390 | #define BRW_VF_CTL_VERTEX_RANGE_LIMIT_ENABLEcxx . . $ `src/uxa/i965_reg.h:390:9`! (1 << 1) |
| 391 | #define BRW_VF_CTL_SNAPSHOT_ENABLEcxx . . $ `src/uxa/i965_reg.h:391:9`! (1 << 0) |
| 392 | |
| 393 | #define BRW_VF_STRG_VALcxx . . $ `src/uxa/i965_reg.h:393:9`! 0x7504 |
| 394 | #define BRW_VF_STR_VL_OVRcxx . . $ `src/uxa/i965_reg.h:394:9`! 0x7508 |
| 395 | #define BRW_VF_VC_OVRcxx . . $ `src/uxa/i965_reg.h:395:9`! 0x750c |
| 396 | #define BRW_VF_STR_PSKIPcxx . . $ `src/uxa/i965_reg.h:396:9`! 0x7510 |
| 397 | #define BRW_VF_MAX_PRIMcxx . . $ `src/uxa/i965_reg.h:397:9`! 0x7514 |
| 398 | #define BRW_VF_RDATAcxx . . $ `src/uxa/i965_reg.h:398:9`! 0x7518 |
| 399 | |
| 400 | #define BRW_VS_CTLcxx . . $ `src/uxa/i965_reg.h:400:9`! 0x7600 |
| 401 | #define BRW_VS_CTL_SNAPSHOT_COMPLETEcxx . . $ `src/uxa/i965_reg.h:401:9`! (1 << 31) |
| 402 | #define BRW_VS_CTL_SNAPSHOT_MUX_VERTEX_0cxx . . $ `src/uxa/i965_reg.h:402:9`! (0 << 8) |
| 403 | #define BRW_VS_CTL_SNAPSHOT_MUX_VERTEX_1cxx . . $ `src/uxa/i965_reg.h:403:9`! (1 << 8) |
| 404 | #define BRW_VS_CTL_SNAPSHOT_MUX_VALID_COUNTcxx . . $ `src/uxa/i965_reg.h:404:9`! (2 << 8) |
| 405 | #define BRW_VS_CTL_SNAPSHOT_MUX_VS_KERNEL_POINTERcxx . . $ `src/uxa/i965_reg.h:405:9`! (3 << 8) |
| 406 | #define BRW_VS_CTL_SNAPSHOT_ALL_THREADScxx . . $ `src/uxa/i965_reg.h:406:9`! (1 << 2) |
| 407 | #define BRW_VS_CTL_THREAD_SNAPSHOT_ENABLEcxx . . $ `src/uxa/i965_reg.h:407:9`! (1 << 1) |
| 408 | #define BRW_VS_CTL_SNAPSHOT_ENABLEcxx . . $ `src/uxa/i965_reg.h:408:9`! (1 << 0) |
| 409 | |
| 410 | #define BRW_VS_STRG_VALcxx . . $ `src/uxa/i965_reg.h:410:9`! 0x7604 |
| 411 | #define BRW_VS_RDATAcxx . . $ `src/uxa/i965_reg.h:411:9`! 0x7608 |
| 412 | |
| 413 | #define BRW_SF_CTLcxx . . $ `src/uxa/i965_reg.h:413:9`! 0x7b00 |
| 414 | #define BRW_SF_CTL_SNAPSHOT_COMPLETEcxx . . $ `src/uxa/i965_reg.h:414:9`! (1 << 31) |
| 415 | #define BRW_SF_CTL_SNAPSHOT_MUX_VERTEX_0_FF_IDcxx . . $ `src/uxa/i965_reg.h:415:9`! (0 << 8) |
| 416 | #define BRW_SF_CTL_SNAPSHOT_MUX_VERTEX_0_REL_COUNTcxx . . $ `src/uxa/i965_reg.h:416:9`! (1 << 8) |
| 417 | #define BRW_SF_CTL_SNAPSHOT_MUX_VERTEX_1_FF_IDcxx . . $ `src/uxa/i965_reg.h:417:9`! (2 << 8) |
| 418 | #define BRW_SF_CTL_SNAPSHOT_MUX_VERTEX_1_REL_COUNTcxx . . $ `src/uxa/i965_reg.h:418:9`! (3 << 8) |
| 419 | #define BRW_SF_CTL_SNAPSHOT_MUX_VERTEX_2_FF_IDcxx . . $ `src/uxa/i965_reg.h:419:9`! (4 << 8) |
| 420 | #define BRW_SF_CTL_SNAPSHOT_MUX_VERTEX_2_REL_COUNTcxx . . $ `src/uxa/i965_reg.h:420:9`! (5 << 8) |
| 421 | #define BRW_SF_CTL_SNAPSHOT_MUX_VERTEX_COUNTcxx . . $ `src/uxa/i965_reg.h:421:9`! (6 << 8) |
| 422 | #define BRW_SF_CTL_SNAPSHOT_MUX_SF_KERNEL_POINTERcxx . . $ `src/uxa/i965_reg.h:422:9`! (7 << 8) |
| 423 | #define BRW_SF_CTL_MIN_MAX_PRIMITIVE_RANGE_ENABLEcxx . . $ `src/uxa/i965_reg.h:423:9`! (1 << 4) |
| 424 | #define BRW_SF_CTL_DEBUG_CLIP_RECTANGLE_ENABLEcxx . . $ `src/uxa/i965_reg.h:424:9`! (1 << 3) |
| 425 | #define BRW_SF_CTL_SNAPSHOT_ALL_THREADScxx . . $ `src/uxa/i965_reg.h:425:9`! (1 << 2) |
| 426 | #define BRW_SF_CTL_THREAD_SNAPSHOT_ENABLEcxx . . $ `src/uxa/i965_reg.h:426:9`! (1 << 1) |
| 427 | #define BRW_SF_CTL_SNAPSHOT_ENABLEcxx . . $ `src/uxa/i965_reg.h:427:9`! (1 << 0) |
| 428 | |
| 429 | #define BRW_SF_STRG_VALcxx . . $ `src/uxa/i965_reg.h:429:9`! 0x7b04 |
| 430 | #define BRW_SF_RDATAcxx . . $ `src/uxa/i965_reg.h:430:9`! 0x7b18 |
| 431 | |
| 432 | #define BRW_WIZ_CTLcxx . . $ `src/uxa/i965_reg.h:432:9`! 0x7c00 |
| 433 | #define BRW_WIZ_CTL_SNAPSHOT_COMPLETEcxx . . $ `src/uxa/i965_reg.h:433:9`! (1 << 31) |
| 434 | #define BRW_WIZ_CTL_SUBSPAN_INSTANCE_SHIFTcxx . . $ `src/uxa/i965_reg.h:434:9`! 16 |
| 435 | #define BRW_WIZ_CTL_SNAPSHOT_MUX_WIZ_KERNEL_POINTERcxx . . $ `src/uxa/i965_reg.h:435:9`! (0 << 8) |
| 436 | #define BRW_WIZ_CTL_SNAPSHOT_MUX_SUBSPAN_INSTANCEcxx . . $ `src/uxa/i965_reg.h:436:9`! (1 << 8) |
| 437 | #define BRW_WIZ_CTL_SNAPSHOT_MUX_PRIMITIVE_SEQUENCEcxx . . $ `src/uxa/i965_reg.h:437:9`! (2 << 8) |
| 438 | #define BRW_WIZ_CTL_SINGLE_SUBSPAN_DISPATCHcxx . . $ `src/uxa/i965_reg.h:438:9`! (1 << 6) |
| 439 | #define BRW_WIZ_CTL_IGNORE_COLOR_SCOREBOARD_STALLScxx . . $ `src/uxa/i965_reg.h:439:9`! (1 << 5) |
| 440 | #define BRW_WIZ_CTL_ENABLE_SUBSPAN_INSTANCE_COMPAREcxx . . $ `src/uxa/i965_reg.h:440:9`! (1 << 4) |
| 441 | #define BRW_WIZ_CTL_USE_UPSTREAM_SNAPSHOT_FLAGcxx . . $ `src/uxa/i965_reg.h:441:9`! (1 << 3) |
| 442 | #define BRW_WIZ_CTL_SNAPSHOT_ALL_THREADScxx . . $ `src/uxa/i965_reg.h:442:9`! (1 << 2) |
| 443 | #define BRW_WIZ_CTL_THREAD_SNAPSHOT_ENABLEcxx . . $ `src/uxa/i965_reg.h:443:9`! (1 << 1) |
| 444 | #define BRW_WIZ_CTL_SNAPSHOT_ENABLEcxx . . $ `src/uxa/i965_reg.h:444:9`! (1 << 0) |
| 445 | |
| 446 | #define BRW_WIZ_STRG_VALcxx . . $ `src/uxa/i965_reg.h:446:9`! 0x7c04 |
| 447 | #define BRW_WIZ_RDATAcxx . . $ `src/uxa/i965_reg.h:447:9`! 0x7c18 |
| 448 | |
| 449 | #define BRW_TS_CTLcxx . . $ `src/uxa/i965_reg.h:449:9`! 0x7e00 |
| 450 | #define BRW_TS_CTL_SNAPSHOT_COMPLETEcxx . . $ `src/uxa/i965_reg.h:450:9`! (1 << 31) |
| 451 | #define BRW_TS_CTL_SNAPSHOT_MESSAGE_ERRORcxx . . $ `src/uxa/i965_reg.h:451:9`! (0 << 8) |
| 452 | #define BRW_TS_CTL_SNAPSHOT_INTERFACE_DESCRIPTORcxx . . $ `src/uxa/i965_reg.h:452:9`! (3 << 8) |
| 453 | #define BRW_TS_CTL_SNAPSHOT_ALL_CHILD_THREADScxx . . $ `src/uxa/i965_reg.h:453:9`! (1 << 2) |
| 454 | #define BRW_TS_CTL_SNAPSHOT_ALL_ROOT_THREADScxx . . $ `src/uxa/i965_reg.h:454:9`! (1 << 1) |
| 455 | #define BRW_TS_CTL_SNAPSHOT_ENABLEcxx . . $ `src/uxa/i965_reg.h:455:9`! (1 << 0) |
| 456 | |
| 457 | #define BRW_TS_STRG_VALcxx . . $ `src/uxa/i965_reg.h:457:9`! 0x7e04 |
| 458 | #define BRW_TS_RDATAcxx . . $ `src/uxa/i965_reg.h:458:9`! 0x7e08 |
| 459 | |
| 460 | #define BRW_TD_CTLcxx . . $ `src/uxa/i965_reg.h:460:9`! 0x8000 |
| 461 | #define BRW_TD_CTL_MUX_SHIFTcxx . . $ `src/uxa/i965_reg.h:461:9`! 8 |
| 462 | #define BRW_TD_CTL_EXTERNAL_HALT_R0_DEBUG_MATCHcxx . . $ `src/uxa/i965_reg.h:462:9`! (1 << 7) |
| 463 | #define BRW_TD_CTL_FORCE_EXTERNAL_HALTcxx . . $ `src/uxa/i965_reg.h:463:9`! (1 << 6) |
| 464 | #define BRW_TD_CTL_EXCEPTION_MASK_OVERRIDEcxx . . $ `src/uxa/i965_reg.h:464:9`! (1 << 5) |
| 465 | #define BRW_TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLEcxx . . $ `src/uxa/i965_reg.h:465:9`! (1 << 4) |
| 466 | #define BRW_TD_CTL_BREAKPOINT_ENABLEcxx . . $ `src/uxa/i965_reg.h:466:9`! (1 << 2) |
| 467 | #define BRW_TD_CTL2cxx . . $ `src/uxa/i965_reg.h:467:9`! 0x8004 |
| 468 | #define BRW_TD_CTL2_ILLEGAL_OPCODE_EXCEPTION_OVERRIDEcxx . . $ `src/uxa/i965_reg.h:468:9`! (1 << 28) |
| 469 | #define BRW_TD_CTL2_MASKSTACK_EXCEPTION_OVERRIDEcxx . . $ `src/uxa/i965_reg.h:469:9`! (1 << 26) |
| 470 | #define BRW_TD_CTL2_SOFTWARE_EXCEPTION_OVERRIDEcxx . . $ `src/uxa/i965_reg.h:470:9`! (1 << 25) |
| 471 | #define BRW_TD_CTL2_ACTIVE_THREAD_LIMIT_SHIFTcxx . . $ `src/uxa/i965_reg.h:471:9`! 16 |
| 472 | #define BRW_TD_CTL2_ACTIVE_THREAD_LIMIT_ENABLEcxx . . $ `src/uxa/i965_reg.h:472:9`! (1 << 8) |
| 473 | #define BRW_TD_CTL2_THREAD_SPAWNER_EXECUTION_MASK_ENABLEcxx . . $ `src/uxa/i965_reg.h:473:9`! (1 << 7) |
| 474 | #define BRW_TD_CTL2_WIZ_EXECUTION_MASK_ENABLEcxx . . $ `src/uxa/i965_reg.h:474:9`! (1 << 6) |
| 475 | #define BRW_TD_CTL2_SF_EXECUTION_MASK_ENABLEcxx . . $ `src/uxa/i965_reg.h:475:9`! (1 << 5) |
| 476 | #define BRW_TD_CTL2_CLIPPER_EXECUTION_MASK_ENABLEcxx . . $ `src/uxa/i965_reg.h:476:9`! (1 << 4) |
| 477 | #define BRW_TD_CTL2_GS_EXECUTION_MASK_ENABLEcxx . . $ `src/uxa/i965_reg.h:477:9`! (1 << 3) |
| 478 | #define BRW_TD_CTL2_VS_EXECUTION_MASK_ENABLEcxx . . $ `src/uxa/i965_reg.h:478:9`! (1 << 0) |
| 479 | #define BRW_TD_VF_VS_EMSKcxx . . $ `src/uxa/i965_reg.h:479:9`! 0x8008 |
| 480 | #define BRW_TD_GS_EMSKcxx . . $ `src/uxa/i965_reg.h:480:9`! 0x800c |
| 481 | #define BRW_TD_CLIP_EMSKcxx . . $ `src/uxa/i965_reg.h:481:9`! 0x8010 |
| 482 | #define BRW_TD_SF_EMSKcxx . . $ `src/uxa/i965_reg.h:482:9`! 0x8014 |
| 483 | #define BRW_TD_WIZ_EMSKcxx . . $ `src/uxa/i965_reg.h:483:9`! 0x8018 |
| 484 | #define BRW_TD_0_6_EHTRG_VALcxx . . $ `src/uxa/i965_reg.h:484:9`! 0x801c |
| 485 | #define BRW_TD_0_7_EHTRG_VALcxx . . $ `src/uxa/i965_reg.h:485:9`! 0x8020 |
| 486 | #define BRW_TD_0_6_EHTRG_MSKcxx . . $ `src/uxa/i965_reg.h:486:9`! 0x8024 |
| 487 | #define BRW_TD_0_7_EHTRG_MSKcxx . . $ `src/uxa/i965_reg.h:487:9`! 0x8028 |
| 488 | #define BRW_TD_RDATAcxx . . $ `src/uxa/i965_reg.h:488:9`! 0x802c |
| 489 | #define BRW_TD_TS_EMSKcxx . . $ `src/uxa/i965_reg.h:489:9`! 0x8030 |
| 490 | |
| 491 | #define BRW_EU_CTLcxx . . $ `src/uxa/i965_reg.h:491:9`! 0x8800 |
| 492 | #define BRW_EU_CTL_SELECT_SHIFTcxx . . $ `src/uxa/i965_reg.h:492:9`! 16 |
| 493 | #define BRW_EU_CTL_DATA_MUX_SHIFTcxx . . $ `src/uxa/i965_reg.h:493:9`! 8 |
| 494 | #define BRW_EU_ATT_0cxx . . $ `src/uxa/i965_reg.h:494:9`! 0x8810 |
| 495 | #define BRW_EU_ATT_1cxx . . $ `src/uxa/i965_reg.h:495:9`! 0x8814 |
| 496 | #define BRW_EU_ATT_DATA_0cxx . . $ `src/uxa/i965_reg.h:496:9`! 0x8820 |
| 497 | #define BRW_EU_ATT_DATA_1cxx . . $ `src/uxa/i965_reg.h:497:9`! 0x8824 |
| 498 | #define BRW_EU_ATT_CLR_0cxx . . $ `src/uxa/i965_reg.h:498:9`! 0x8830 |
| 499 | #define BRW_EU_ATT_CLR_1cxx . . $ `src/uxa/i965_reg.h:499:9`! 0x8834 |
| 500 | #define BRW_EU_RDATAcxx . . $ `src/uxa/i965_reg.h:500:9`! 0x8840 |
| 501 | |
| 502 | /* End regs for broadwater */ |
| 503 |