draw does not work in a simple example
Submitted by xinghua
Assigned to Intel 3D Bugs Mailing List
Link to original bug (#106123)
Description
Created attachment 138904 source code of example
I found a issue in ANGLE project that draw does not work, and had written a simple example to reproduce this issue, attachment is the source code. Steps:
- gcc -o srgb srgb.c -lX11 -lepoxy
- ./srgb
I had used readPixels to get fbo content and wrote content to files in current directory, the name is "result_1/2/3/4.rgba", These files were all empty, it seems that mesa did draw nothing. The same case had run on NVIDIA GPU, which draw something normally. I had spent some time to debug it, but did not find the root cause. Please help me to check it, thank you.
Attachment 138904, "source code of example":
srgb.c
Version: git