Shader error in 'xxx': Arithmetic instruction limit of 64 exceeded....的解决方法
来源:互联网 发布:8051 单片机内部实现 编辑:程序博客网 时间:2024/05/18 06:24
Shader error in 'xxx': Arithmetic instruction limit of 64 exceeded; 65 arithmetic instructions needed to compile program
需要定义#pragma target 3.0
- #pragma target 2.0 (default) - roughly shader model 2.0
- Shader Model 2.0 on Direct3D 9.
- Limited amount of arithmetic & texture instructions; no vertex texture sampling; no derivatives in fragment shaders.
- #pragma target 3.0 - compile to shader model 3.0:
- Shader Model 3.0 on Direct3D 9.
- #pragma target 4.0 - compile to DX10 shader model 4.0. This target is currently only supported by DirectX 11 and XboxOne/PS4 platforms.
- #pragma target 5.0 - compile to DX11 shader model 5.0. This target is currently only supported by DirectX 11 and XboxOne/PS4 platforms.
0 0
- Shader error in 'xxx': Arithmetic instruction limit of 64 exceeded....的解决方法
- POJ1007: Output Limit Exceeded的解决方法
- fatal error C1128: number of sections exceeded object file format limit : compile with /bigobj 的解决办法
- hadoop steaming中ERROR:Job not successful. of failed Reduce Tasks exceeded allowed limit.的解决办法
- GC Out of memory Error: GC overhead limit exceeded
- *** FATAL ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED
- *** FATAL ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED
- *** FATAL ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED
- Error: 999999: Coordinate limit exceeded
- fatal error C1128: number of sections exceeded object file format limit : compile with /bigobj 的解决办
- [乐意黎原创]php 抛Fatal error: Cannot use object of type stdClass as array in XXX的解决方法
- MAC系统 Eclipse出现 "gc overhead limit exceeded"的解决方法
- php Fatal error: Maximum execution time of 30 seconds exceeded in 问题的解决方案
- 解决Fatal error: Maximum execution time of 30 seconds exceeded in...的问题
- Fatal error: Maximum execution time of 60 seconds exceeded in
- Fatal error: Maximum execution time of 30 seconds exceeded in
- Fatal error: Maximum execution time of 30 seconds exceeded in
- Fatal error: Maximum execution time of 30 seconds exceeded in
- 天上掉宝石(属性动画+组合属性动画)
- ubuntu下使用Shell脚本和Scrapy进行hosts自动更新
- static用法
- C语言—scanf函数、sizeof、三木运算、各种运算符
- cpp反汇编之数组
- Shader error in 'xxx': Arithmetic instruction limit of 64 exceeded....的解决方法
- 用import改变行为之条件编译
- C++预处理器详解
- 全排列算法
- CentOS 6.x安装Metasploit
- android.view.InflateException....Error inflating class...
- php打印一些图形
- C语言—switch、while、do while、for、break和countinue
- CSU1552: Friends(快速判断大数是不是素数+二分匹配)