Guest User

si out-of-order rasterization

a guest
Sep 21st, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.22 KB | None | 0 0
  1. diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
  2. index 9e654a511f..839bebcfea 100644
  3. --- a/src/amd/vulkan/radv_device.c
  4. +++ b/src/amd/vulkan/radv_device.c
  5. @@ -351,7 +351,7 @@ radv_physical_device_init(struct radv_physical_device *device,
  6.     if (result != VK_SUCCESS)
  7.         goto fail;
  8.  
  9. -   if (device->rad_info.chip_class >= VI && device->rad_info.max_se >= 2) {
  10. +   if (device->rad_info.chip_class >= SI && device->rad_info.max_se >= 2) {
  11.         result = radv_extensions_register(instance,
  12.                         &device->extensions,
  13.                         rasterization_order_extension,
  14. diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
  15. index 2eacc5d69e..dca288cb24 100644
  16. --- a/src/gallium/drivers/radeonsi/si_pipe.c
  17. +++ b/src/gallium/drivers/radeonsi/si_pipe.c
  18. @@ -1047,7 +1047,7 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws,
  19.          sscreen->b.info.pfp_fw_version >= 79 &&
  20.          sscreen->b.info.me_fw_version >= 142);
  21.  
  22. -   sscreen->has_out_of_order_rast = sscreen->b.chip_class >= VI &&
  23. +   sscreen->has_out_of_order_rast = sscreen->b.chip_class >= SI &&
  24.                      sscreen->b.info.max_se >= 2 &&
  25.                      !(sscreen->b.debug_flags & DBG_NO_OUT_OF_ORDER);
  26.     sscreen->assume_no_z_fights =
Add Comment
Please, Sign In to add comment