소스 검색

i965: Move BATCH_SZ define into intel_batchbuffer.c.

It's only used in one file.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
tags/17.3-branchpoint
Kenneth Graunke 8 년 전
부모
커밋
01f29366e3
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 0
    1
      src/mesa/drivers/dri/i965/brw_context.h
  2. 2
    0
      src/mesa/drivers/dri/i965/intel_batchbuffer.c

+ 0
- 1
src/mesa/drivers/dri/i965/brw_context.h 파일 보기

@@ -449,7 +449,6 @@ struct intel_batchbuffer {
uint32_t *map_next;
uint32_t *map;
uint32_t *cpu_map;
#define BATCH_SZ (8192*sizeof(uint32_t))

uint32_t state_batch_offset;
enum brw_gpu_ring ring;

+ 2
- 0
src/mesa/drivers/dri/i965/intel_batchbuffer.c 파일 보기

@@ -40,6 +40,8 @@

#define FILE_DEBUG_FLAG DEBUG_BUFMGR

#define BATCH_SZ (8192*sizeof(uint32_t))

static void
intel_batchbuffer_reset(struct intel_batchbuffer *batch,
struct brw_bufmgr *bufmgr,

Loading…
취소
저장