<div dir="ltr">Do we need to set the enable bits? If not, just extending the struct in genxml should be sufficient.<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 10, 2018 at 3:39 PM Jordan Justen <<a href="mailto:jordan.l.justen@intel.com">jordan.l.justen@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ref: 263b584d5e4 "i965/skl: Emit extra zeros in STATE_BASE_ADDRESS on Skylake."<br>
Signed-off-by: Jordan Justen <<a href="mailto:jordan.l.justen@intel.com" target="_blank">jordan.l.justen@intel.com</a>><br>
---<br>
src/intel/vulkan/genX_cmd_buffer.c | 12 ++++++++++++<br>
1 file changed, 12 insertions(+)<br>
<br>
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c<br>
index c3a7e5c83c3..43a02f22567 100644<br>
--- a/src/intel/vulkan/genX_cmd_buffer.c<br>
+++ b/src/intel/vulkan/genX_cmd_buffer.c<br>
@@ -121,6 +121,18 @@ genX(cmd_buffer_emit_state_base_address)(struct anv_cmd_buffer *cmd_buffer)<br>
sba.IndirectObjectBufferSizeModifyEnable = true;<br>
sba.InstructionBufferSize = 0xfffff;<br>
sba.InstructionBuffersizeModifyEnable = true;<br>
+# endif<br>
+# if (GEN_GEN >= 9)<br>
+ sba.BindlessSurfaceStateBaseAddress = (struct anv_address) { NULL, 0 };<br>
+ sba.BindlessSurfaceStateMemoryObjectControlState = GENX(MOCS);<br>
+ sba.BindlessSurfaceStateBaseAddressModifyEnable = true;<br>
+ sba.BindlessSurfaceStateSize = 0;<br>
+# endif<br>
+# if (GEN_GEN >= 10)<br>
+ sba.BindlessSamplerStateBaseAddress = (struct anv_address) { NULL, 0 };<br>
+ sba.BindlessSamplerStateMemoryObjectControlState = GENX(MOCS);<br>
+ sba.BindlessSamplerStateBaseAddressModifyEnable = true;<br>
+ sba.BindlessSamplerStateBufferSize = 0;<br>
# endif<br>
}<br>
<br>
-- <br>
2.19.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>