pow2clk added a comment.

Looks good. I made a comment about the CS 4.0 thing, but that can be addressed 
when more thorough examination of the requested shader models comes around.



================
Comment at: clang/lib/Sema/SemaDeclAttr.cpp:6857
+  uint32_t ThreadMax = 1024;
+  if (SMVersion.getMajor() <= 4) {
+    ZMax = 1;
----------------
As we discussed, compute shaders didn't actually exist pre-4.0 and I don't know 
that we'll ever seek to do anything with a 4.0 shader model except convert it 
to a higher version and issue a notification, but that handling is clearly not 
the intent of this change. So it's fine with me. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122627/new/

https://reviews.llvm.org/D122627

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to