<field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
<field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
<field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
- <field name="Border Color Pointer" start="69" end="95" type="offset"/>
+ <field name="Border Color Pointer" start="69" end="95" type="address"/>
<field name="ChromaKey Enable" start="121" end="121" type="bool"/>
<field name="ChromaKey Index" start="119" end="120" type="uint"/>
<field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
<field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
<field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
<field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
- <field name="Border Color Pointer" start="69" end="95" type="offset"/>
+ <field name="Border Color Pointer" start="69" end="95" type="address"/>
<field name="Monochrome Filter Height" start="125" end="127" type="uint"/>
<field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
<field name="ChromaKey Enable" start="121" end="121" type="bool"/>
<field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
<field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
<field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
- <field name="Border Color Pointer" start="69" end="95" type="offset"/>
+ <field name="Border Color Pointer" start="69" end="95" type="address"/>
<field name="Monochrome Filter Height" start="125" end="127" type="uint"/>
<field name="Monochrome Filter Width" start="122" end="124" type="uint"/>
<field name="ChromaKey Enable" start="121" end="121" type="bool"/>
texObj->StencilSampling,
&border_color_offset);
}
- if (GEN_GEN < 6) {
- samp_st.BorderColorPointer =
- brw_emit_reloc(&brw->batch, batch_offset_for_sampler_state + 8,
- brw->batch.bo, border_color_offset, 0);
- } else {
+#if GEN_GEN < 6
+ samp_st.BorderColorPointer = ro_bo(brw->batch.bo, border_color_offset);
+#else
samp_st.BorderColorPointer = border_color_offset;
- }
+#endif
#if GEN_GEN >= 8
samp_st.LODPreClampMode = CLAMP_MODE_OGL;