随笔 - 557  文章 - 0  评论 - 45  阅读 - 45万
03 2017 档案
window coordinate
摘要:到ndc的转换是通过(x/w,y/w,z/w) 到了 window coordinates dx upper left gl lower left setviewport setscissor rt被裁了 不是viewport。。是scissor 调了好久 阅读全文
posted @ 2017-03-29 01:26 minggoddess 阅读(159) 评论(0) 推荐(0) 编辑
GPU hang
摘要:最近做新项目 初期一直遇到个gpu hang的问题 就是command 提交过去gpu 就一直在那里 直到time out 也没什么别的错误提示 gpu debugger还抓不了 解决方案是 缩小之后 gpu debugger caputure frame问题是由于 vbo没有和verte attr 阅读全文
posted @ 2017-03-14 20:42 minggoddess 阅读(691) 评论(0) 推荐(0) 编辑
the application was unable to start correctly 0xc000007b
摘要:应该是个64bit的问题 占坑 在装vs了 td教我用一个 ms的 depends.exe 能看依赖的dll 好强.. 和别人对比 明显是mscvr相关的 网上也是这么说 最后发现 是UCRTBASED.dll这个版本不对 因为是被vcruntime140d.dll引用的 所以没有直接报找不到dll 阅读全文
posted @ 2017-03-14 10:43 minggoddess 阅读(341) 评论(0) 推荐(0) 编辑
vertex buffer 数据结构 如何读vb的memory pool
摘要:vertex attribute (declaration) vertex stream (memory pool) 这两部分 通过attribute 里面对memory的描述把两部分 vbo 和attribute bind together slot attribute offset stream 阅读全文
posted @ 2017-03-13 15:27 minggoddess 阅读(338) 评论(0) 推荐(0) 编辑
map
摘要:gpu resource 以discard overwirte 方式map出来 是要得到一块可以供cpu使用的地址 在引擎里面有两层来实现这个dynamaic vertex功能 上层有个ring 如果一块写满了换下一块 下层对于 块内用overwrite map memory 对于 换块用disca 阅读全文
posted @ 2017-03-13 15:09 minggoddess 阅读(103) 评论(0) 推荐(0) 编辑
CPU Cache unCache
摘要:CPU uncache 写就可以了 CPU chace这种flag的话 还要flush过去 不然gpu那边拿到的这块buffer里面没有内容 都是空 阅读全文
posted @ 2017-03-13 14:42 minggoddess 阅读(412) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示