mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
nv40: s/READ/WRITE/
This commit is contained in:
parent
6af6bb6817
commit
92ee96d83d
1 changed files with 1 additions and 1 deletions
|
|
@ -788,7 +788,7 @@ nv40_fragprog_bind(struct nv40_context *nv40, struct nv40_fragment_program *fp)
|
|||
fp->buffer = ws->buffer_create(ws, 0x100, 0, 0);
|
||||
ws->buffer_data(ws, fp->buffer, fp->insn_len * 4, NULL, 0);
|
||||
|
||||
map = ws->buffer_map(ws, fp->buffer, PIPE_BUFFER_FLAG_READ);
|
||||
map = ws->buffer_map(ws, fp->buffer, PIPE_BUFFER_FLAG_WRITE);
|
||||
|
||||
#if 0
|
||||
for (i = 0; i < fp->insn_len; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue